Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuentin Le Menez2018-01-09 10:09:46 +0000
committerQuentin Le Menez2018-01-09 13:18:15 +0000
commitd98116b5b376f18b6cf626ba4158a35fe9a4a64e (patch)
tree4458c9c5ada0a216b385813a56ea9a9b8c7b6509 /plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext
parent453e99bc2dcbd5fabad100f9d0d5f682013c3b19 (diff)
downloadorg.eclipse.papyrus-d98116b5b376f18b6cf626ba4158a35fe9a4a64e.tar.gz
org.eclipse.papyrus-d98116b5b376f18b6cf626ba4158a35fe9a4a64e.tar.xz
org.eclipse.papyrus-d98116b5b376f18b6cf626ba4158a35fe9a4a64e.zip
Bug 515367 - [releng] Uniformization of the end of lines to Unix standard
- Format the EOL of all the files matched by: grep -rIUs . | xargs -Ifile dos2unix -k 'file' Change-Id: I5c41d540a9a67b50de9b912ab35e16cc9a912961 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
Diffstat (limited to 'plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext')
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/.settings/net.sf.jautodoc.prefs12
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/META-INF/MANIFEST.MF64
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/about.html54
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/build.properties16
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/plugin.properties24
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/pom.xml98
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference.ecore22
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference.genmodel38
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.tokens28
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReferenceLexer.java2634
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReferenceParser.java744
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/ConnectionPointReferenceRule.java120
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/UMLConnectionPointReferenceFactory.java94
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/UMLConnectionPointReferencePackage.java392
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/ConnectionPointReferenceRuleImpl.java382
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/UMLConnectionPointReferenceFactoryImpl.java228
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/UMLConnectionPointReferencePackageImpl.java444
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceAdapterFactory.java280
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceResourceFactoryImpl.java110
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceResourceImpl.java64
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceSwitch.java256
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceXMLProcessor.java108
22 files changed, 3106 insertions, 3106 deletions
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/.settings/net.sf.jautodoc.prefs b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/.settings/net.sf.jautodoc.prefs
index 93b41210d3a..25424fa65af 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/.settings/net.sf.jautodoc.prefs
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/.settings/net.sf.jautodoc.prefs
@@ -1,6 +1,6 @@
-eclipse.preferences.version=1
-header_text=/*****************************************************************************\r\n * Copyright (c) 2010 CEA LIST.\r\n *\r\n * \r\n * All rights reserved. This program and the accompanying materials\r\n * are made available under the terms of the Eclipse Public License v1.0\r\n * which accompanies this distribution, and is available at\r\n * http\://www.eclipse.org/legal/epl-v10.html\r\n *\r\n * Contributors\:\r\n * CEA LIST - Initial API and implementation\r\n *\r\n *****************************************************************************/
-mode=mode_replace
-project_specific_settings=true
-replace_header=true
-replacements=<?xml version\="1.0" standalone\="yes"?>\n\n<replacements>\n<replacement key\="get" scope\="1" mode\="0">Gets the</replacement>\n<replacement key\="set" scope\="1" mode\="0">Sets the</replacement>\n<replacement key\="add" scope\="1" mode\="0">Adds the</replacement>\n<replacement key\="edit" scope\="1" mode\="0">Edits the</replacement>\n<replacement key\="remove" scope\="1" mode\="0">Removes the</replacement>\n<replacement key\="init" scope\="1" mode\="0">Inits the</replacement>\n<replacement key\="parse" scope\="1" mode\="0">Parses the</replacement>\n<replacement key\="create" scope\="1" mode\="0">Creates the</replacement>\n<replacement key\="build" scope\="1" mode\="0">Builds the</replacement>\n<replacement key\="is" scope\="1" mode\="0">Checks if is</replacement>\n<replacement key\="print" scope\="1" mode\="0">Prints the</replacement>\n<replacement key\="has" scope\="1" mode\="0">Checks for</replacement>\n</replacements>\n\n
+eclipse.preferences.version=1
+header_text=/*****************************************************************************\r\n * Copyright (c) 2010 CEA LIST.\r\n *\r\n * \r\n * All rights reserved. This program and the accompanying materials\r\n * are made available under the terms of the Eclipse Public License v1.0\r\n * which accompanies this distribution, and is available at\r\n * http\://www.eclipse.org/legal/epl-v10.html\r\n *\r\n * Contributors\:\r\n * CEA LIST - Initial API and implementation\r\n *\r\n *****************************************************************************/
+mode=mode_replace
+project_specific_settings=true
+replace_header=true
+replacements=<?xml version\="1.0" standalone\="yes"?>\n\n<replacements>\n<replacement key\="get" scope\="1" mode\="0">Gets the</replacement>\n<replacement key\="set" scope\="1" mode\="0">Sets the</replacement>\n<replacement key\="add" scope\="1" mode\="0">Adds the</replacement>\n<replacement key\="edit" scope\="1" mode\="0">Edits the</replacement>\n<replacement key\="remove" scope\="1" mode\="0">Removes the</replacement>\n<replacement key\="init" scope\="1" mode\="0">Inits the</replacement>\n<replacement key\="parse" scope\="1" mode\="0">Parses the</replacement>\n<replacement key\="create" scope\="1" mode\="0">Creates the</replacement>\n<replacement key\="build" scope\="1" mode\="0">Builds the</replacement>\n<replacement key\="is" scope\="1" mode\="0">Checks if is</replacement>\n<replacement key\="print" scope\="1" mode\="0">Prints the</replacement>\n<replacement key\="has" scope\="1" mode\="0">Checks for</replacement>\n</replacements>\n\n
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/META-INF/MANIFEST.MF b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/META-INF/MANIFEST.MF
index 47c70947168..4534a2a6655 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/META-INF/MANIFEST.MF
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/META-INF/MANIFEST.MF
@@ -1,32 +1,32 @@
-Manifest-Version: 1.0
-Require-Bundle: org.eclipse.xtext.generator;bundle-version="[2.10.0,3.0.0)";resolution:=optional,
- org.apache.commons.logging;bundle-version="[1.1.0,2.0.0)";resolution:=optional,
- org.eclipse.emf.mwe.utils;bundle-version="[1.3.0,2.0.0)";resolution:=optional,
- org.eclipse.emf.mwe2.launch;bundle-version="[2.9.0,3.0.0)";resolution:=optional,
- com.ibm.icu;resolution:=optional,
- org.eclipse.uml2.uml;bundle-version="[5.3.0,6.0.0)",
- org.eclipse.uml2.codegen.ecore;bundle-version="[2.3.0,3.0.0)",
- org.apache.log4j;bundle-version="[1.2.0,2.0.0)",
- org.eclipse.papyrus.uml.alf.common;bundle-version="[2.0.0,3.0.0)"
-Export-Package: org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext,
- org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.formatting,
- org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.generator,
- org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.parser.antlr,
- org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.parser.antlr.internal,
- org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.scoping,
- org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.serializer,
- org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.services,
- org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference,
- org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl,
- org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.util,
- org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.validation
-Bundle-Vendor: %providerName
-Bundle-ActivationPolicy: lazy
-Bundle-Version: 2.0.0.qualifier
-Bundle-Localization: plugin
-Bundle-Name: %pluginName
-Bundle-ManifestVersion: 2
-Import-Package: org.apache.log4j;version="[1.2.0,2.0.0)",
- org.eclipse.xtext.xbase.lib;version="[2.10.0,3.0.0)"
-Bundle-SymbolicName: org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext;singleton:=true
-Bundle-RequiredExecutionEnvironment: JavaSE-1.8
+Manifest-Version: 1.0
+Require-Bundle: org.eclipse.xtext.generator;bundle-version="[2.10.0,3.0.0)";resolution:=optional,
+ org.apache.commons.logging;bundle-version="[1.1.0,2.0.0)";resolution:=optional,
+ org.eclipse.emf.mwe.utils;bundle-version="[1.3.0,2.0.0)";resolution:=optional,
+ org.eclipse.emf.mwe2.launch;bundle-version="[2.9.0,3.0.0)";resolution:=optional,
+ com.ibm.icu;resolution:=optional,
+ org.eclipse.uml2.uml;bundle-version="[5.3.0,6.0.0)",
+ org.eclipse.uml2.codegen.ecore;bundle-version="[2.3.0,3.0.0)",
+ org.apache.log4j;bundle-version="[1.2.0,2.0.0)",
+ org.eclipse.papyrus.uml.alf.common;bundle-version="[2.0.0,3.0.0)"
+Export-Package: org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext,
+ org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.formatting,
+ org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.generator,
+ org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.parser.antlr,
+ org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.parser.antlr.internal,
+ org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.scoping,
+ org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.serializer,
+ org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.services,
+ org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference,
+ org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl,
+ org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.util,
+ org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.validation
+Bundle-Vendor: %providerName
+Bundle-ActivationPolicy: lazy
+Bundle-Version: 2.0.0.qualifier
+Bundle-Localization: plugin
+Bundle-Name: %pluginName
+Bundle-ManifestVersion: 2
+Import-Package: org.apache.log4j;version="[1.2.0,2.0.0)",
+ org.eclipse.xtext.xbase.lib;version="[2.10.0,3.0.0)"
+Bundle-SymbolicName: org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext;singleton:=true
+Bundle-RequiredExecutionEnvironment: JavaSE-1.8
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/about.html b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/about.html
index 209103075a7..dd3c089a94c 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/about.html
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/about.html
@@ -1,28 +1,28 @@
-<!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>November 14, 2008</p>
-<h3>License</h3>
-
-<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
-indicated below, the Content is provided to you under the terms and conditions of the
-Eclipse Public License Version 1.0 (&quot;EPL&quot;). 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, &quot;Program&quot; 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 (&quot;Redistributor&quot;) 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>
+<!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>November 14, 2008</p>
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 (&quot;EPL&quot;). 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, &quot;Program&quot; 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 (&quot;Redistributor&quot;) 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/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/build.properties b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/build.properties
index 1e4071971ee..e7c0399ef96 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/build.properties
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/build.properties
@@ -1,8 +1,8 @@
-#
-#Mon Sep 12 09:29:35 CEST 2011
-bin.includes=META-INF/,.,plugin.xml,plugin.properties,about.html
-src.includes = about.html
-source.. = src/,\
- src-gen/,\
- xtend-gen/
-output.. = bin/
+#
+#Mon Sep 12 09:29:35 CEST 2011
+bin.includes=META-INF/,.,plugin.xml,plugin.properties,about.html
+src.includes = about.html
+source.. = src/,\
+ src-gen/,\
+ xtend-gen/
+output.. = bin/
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/plugin.properties b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/plugin.properties
index 14b48a20b44..e206a869d91 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/plugin.properties
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/plugin.properties
@@ -1,12 +1,12 @@
-#################################################################################
-# Copyright (c) 2010 CEA LIST.
-# 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:
-# Remi Schnekenburger (CEA LIST) remi.schnekenburger@cea.fr - initial API and implementation
-##################################################################################
-pluginName=Papyrus ConnectionPointReference xtext direct editor
-providerName=Eclipse Modeling Project
+#################################################################################
+# Copyright (c) 2010 CEA LIST.
+# 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:
+# Remi Schnekenburger (CEA LIST) remi.schnekenburger@cea.fr - initial API and implementation
+##################################################################################
+pluginName=Papyrus ConnectionPointReference xtext direct editor
+providerName=Eclipse Modeling Project
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/pom.xml b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/pom.xml
index be7cf07b6f7..bd87f923708 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/pom.xml
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/pom.xml
@@ -1,52 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.eclipse.papyrus</groupId>
- <artifactId>org.eclipse.papyrus.uml-textedit</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- </parent>
- <artifactId>org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-clean-plugin</artifactId>
- <configuration>
- <fileset>
- <directory>xtend-gen</directory>
- <includes>
- <include>**/*</include>
- </includes>
- <excludes>
- <exclude>.gitignore</exclude>
- </excludes>
- </fileset>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.eclipse.xtend</groupId>
- <artifactId>xtend-maven-plugin</artifactId>
- <executions>
- <execution>
- <phase>generate-sources</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <outputDirectory>xtend-gen</outputDirectory>
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.eclipse.papyrus</groupId>
+ <artifactId>org.eclipse.papyrus.uml-textedit</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <artifactId>org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext</artifactId>
+ <version>2.0.0-SNAPSHOT</version>
+ <packaging>eclipse-plugin</packaging>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-clean-plugin</artifactId>
+ <configuration>
+ <fileset>
+ <directory>xtend-gen</directory>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ <excludes>
+ <exclude>.gitignore</exclude>
+ </excludes>
+ </fileset>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.xtend</groupId>
+ <artifactId>xtend-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <outputDirectory>xtend-gen</outputDirectory>
<testOutputDirectory>${project.build.directory}/xtend-gen/test</testOutputDirectory>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project> \ No newline at end of file
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference.ecore b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference.ecore
index 19562e2958b..6579a8bac9b 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference.ecore
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference.ecore
@@ -1,11 +1,11 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="uMLConnectionPointReference" nsURI="http://www.eclipse.org/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference"
- nsPrefix="uMLConnectionPointReference">
- <eClassifiers xsi:type="ecore:EClass" name="ConnectionPointReferenceRule">
- <eStructuralFeatures xsi:type="ecore:EReference" name="entry" unique="false" upperBound="-1"
- eType="ecore:EClass ../../../../../../../../../org.eclipse.uml2.uml/model/UML.ecore#//Pseudostate"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="exit" unique="false" upperBound="-1"
- eType="ecore:EClass ../../../../../../../../../org.eclipse.uml2.uml/model/UML.ecore#//Pseudostate"/>
- </eClassifiers>
-</ecore:EPackage>
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="uMLConnectionPointReference" nsURI="http://www.eclipse.org/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference"
+ nsPrefix="uMLConnectionPointReference">
+ <eClassifiers xsi:type="ecore:EClass" name="ConnectionPointReferenceRule">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="entry" unique="false" upperBound="-1"
+ eType="ecore:EClass ../../../../../../../../../org.eclipse.uml2.uml/model/UML.ecore#//Pseudostate"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="exit" unique="false" upperBound="-1"
+ eType="ecore:EClass ../../../../../../../../../org.eclipse.uml2.uml/model/UML.ecore#//Pseudostate"/>
+ </eClassifiers>
+</ecore:EPackage>
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference.genmodel b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference.genmodel
index d213da6c2ba..61f9189468b 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference.genmodel
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference.genmodel
@@ -1,19 +1,19 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen"
- editDirectory="/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.edit/src"
- editorDirectory="/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.editor/src"
- modelPluginID="org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext"
- forceOverwrite="true" modelName="UMLConnectionPointReference" updateClasspath="false"
- rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" complianceLevel="5.0"
- copyrightFields="false" editPluginID="org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.edit"
- editorPluginID="org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.editor"
- runtimeVersion="2.9" usedGenPackages="../../../../../../../../../org.eclipse.uml2.uml/model/UML.genmodel#//uml">
- <genPackages prefix="UMLConnectionPointReference" basePackage="org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext"
- resource="XML" disposableProviderFactory="true" ecorePackage="UMLConnectionPointReference.ecore#/">
- <genClasses ecoreClass="UMLConnectionPointReference.ecore#//ConnectionPointReferenceRule">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference UMLConnectionPointReference.ecore#//ConnectionPointReferenceRule/entry"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference UMLConnectionPointReference.ecore#//ConnectionPointReferenceRule/exit"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
+<?xml version="1.0" encoding="UTF-8"?>
+<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
+ xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen"
+ editDirectory="/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.edit/src"
+ editorDirectory="/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.editor/src"
+ modelPluginID="org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext"
+ forceOverwrite="true" modelName="UMLConnectionPointReference" updateClasspath="false"
+ rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" complianceLevel="5.0"
+ copyrightFields="false" editPluginID="org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.edit"
+ editorPluginID="org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.editor"
+ runtimeVersion="2.9" usedGenPackages="../../../../../../../../../org.eclipse.uml2.uml/model/UML.genmodel#//uml">
+ <genPackages prefix="UMLConnectionPointReference" basePackage="org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext"
+ resource="XML" disposableProviderFactory="true" ecorePackage="UMLConnectionPointReference.ecore#/">
+ <genClasses ecoreClass="UMLConnectionPointReference.ecore#//ConnectionPointReferenceRule">
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference UMLConnectionPointReference.ecore#//ConnectionPointReferenceRule/entry"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference UMLConnectionPointReference.ecore#//ConnectionPointReferenceRule/exit"/>
+ </genClasses>
+ </genPackages>
+</genmodel:GenModel>
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.tokens b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.tokens
index 5e711e0d9d6..b94e58d40cb 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.tokens
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.tokens
@@ -1,14 +1,14 @@
-RULE_ID=4
-RULE_STRING=6
-T__12=12
-T__14=14
-T__13=13
-RULE_ANY_OTHER=11
-RULE_INT=9
-RULE_INTEGER_VALUE=5
-RULE_WS=10
-RULE_SL_COMMENT=8
-RULE_ML_COMMENT=7
-'exit'=14
-','=13
-'entry'=12
+RULE_ID=4
+RULE_STRING=6
+T__12=12
+T__14=14
+T__13=13
+RULE_ANY_OTHER=11
+RULE_INT=9
+RULE_INTEGER_VALUE=5
+RULE_WS=10
+RULE_SL_COMMENT=8
+RULE_ML_COMMENT=7
+'exit'=14
+','=13
+'entry'=12
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReferenceLexer.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReferenceLexer.java
index e03e6b7b261..b0498d14411 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReferenceLexer.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReferenceLexer.java
@@ -1,1318 +1,1318 @@
-package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.parser.antlr.internal;
-
-// Hack: Use our own Lexer superclass by means of import.
-// Currently there is no other way to specify the superclass for the lexer.
-import org.antlr.runtime.BaseRecognizer;
-import org.antlr.runtime.CharStream;
-import org.antlr.runtime.DFA;
-import org.antlr.runtime.EarlyExitException;
-import org.antlr.runtime.IntStream;
-import org.antlr.runtime.MismatchedSetException;
-import org.antlr.runtime.NoViableAltException;
-import org.antlr.runtime.RecognitionException;
-import org.antlr.runtime.RecognizerSharedState;
-import org.eclipse.xtext.parser.antlr.Lexer;
-
-@SuppressWarnings("all")
-public class InternalUMLConnectionPointReferenceLexer extends Lexer {
- public static final int RULE_ID = 4;
- public static final int RULE_STRING = 6;
- public static final int T__12 = 12;
- public static final int T__14 = 14;
- public static final int T__13 = 13;
- public static final int RULE_ANY_OTHER = 11;
- public static final int RULE_INT = 9;
- public static final int RULE_INTEGER_VALUE = 5;
- public static final int RULE_WS = 10;
- public static final int RULE_SL_COMMENT = 8;
- public static final int EOF = -1;
- public static final int RULE_ML_COMMENT = 7;
-
- // delegates
- // delegators
-
- public InternalUMLConnectionPointReferenceLexer() {
- ;
- }
-
- public InternalUMLConnectionPointReferenceLexer(CharStream input) {
- this(input, new RecognizerSharedState());
- }
-
- public InternalUMLConnectionPointReferenceLexer(CharStream input, RecognizerSharedState state) {
- super(input, state);
-
- }
-
- @Override
- public String getGrammarFileName() {
- return "../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g";
- }
-
- // $ANTLR start "T__12"
- public final void mT__12() throws RecognitionException {
- try {
- int _type = T__12;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:11:7: ( 'entry' )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:11:9: 'entry'
- {
- match("entry");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__12"
-
- // $ANTLR start "T__13"
- public final void mT__13() throws RecognitionException {
- try {
- int _type = T__13;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:12:7: ( ',' )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:12:9: ','
- {
- match(',');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__13"
-
- // $ANTLR start "T__14"
- public final void mT__14() throws RecognitionException {
- try {
- int _type = T__14;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:13:7: ( 'exit' )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:13:9: 'exit'
- {
- match("exit");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__14"
-
- // $ANTLR start "RULE_INTEGER_VALUE"
- public final void mRULE_INTEGER_VALUE() throws RecognitionException {
- try {
- int _type = RULE_INTEGER_VALUE;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:20: ( ( ( '0' | '1' .. '9' ( ( '_' )? '0'
- // .. '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* ) )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:22: ( ( '0' | '1' .. '9' ( ( '_' )? '0' ..
- // '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* )
- {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:22: ( ( '0' | '1' .. '9' ( ( '_' )?
- // '0' .. '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* )
- int alt13 = 4;
- int LA13_0 = input.LA(1);
-
- if ((LA13_0 == '0')) {
- switch (input.LA(2)) {
- case 'B':
- case 'b': {
- alt13 = 2;
- }
- break;
- case 'X':
- case 'x': {
- alt13 = 3;
- }
- break;
- case '0':
- case '1':
- case '2':
- case '3':
- case '4':
- case '5':
- case '6':
- case '7':
- case '_': {
- alt13 = 4;
- }
- break;
- default:
- alt13 = 1;
- }
-
- }
- else if (((LA13_0 >= '1' && LA13_0 <= '9'))) {
- alt13 = 1;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 13, 0, input);
-
- throw nvae;
- }
- switch (alt13) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:23: ( '0' | '1' .. '9' ( ( '_' )? '0'
- // .. '9' )* )
- {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:23: ( '0' | '1' .. '9' ( ( '_' )?
- // '0' .. '9' )* )
- int alt3 = 2;
- int LA3_0 = input.LA(1);
-
- if ((LA3_0 == '0')) {
- alt3 = 1;
- }
- else if (((LA3_0 >= '1' && LA3_0 <= '9'))) {
- alt3 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 3, 0, input);
-
- throw nvae;
- }
- switch (alt3) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:24: '0'
- {
- match('0');
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:28: '1' .. '9' ( ( '_' )? '0' ..
- // '9' )*
- {
- matchRange('1', '9');
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:37: ( ( '_' )? '0' .. '9' )*
- loop2: do {
- int alt2 = 2;
- int LA2_0 = input.LA(1);
-
- if (((LA2_0 >= '0' && LA2_0 <= '9') || LA2_0 == '_')) {
- alt2 = 1;
- }
-
-
- switch (alt2) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:38: ( '_' )? '0' .. '9'
- {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:38: ( '_' )?
- int alt1 = 2;
- int LA1_0 = input.LA(1);
-
- if ((LA1_0 == '_')) {
- alt1 = 1;
- }
- switch (alt1) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:38: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- matchRange('0', '9');
-
- }
- break;
-
- default:
- break loop2;
- }
- } while (true);
-
-
- }
- break;
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:55: ( '0b' | '0B' ) '0' .. '1' ( ( '_'
- // )? '0' .. '1' )*
- {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:55: ( '0b' | '0B' )
- int alt4 = 2;
- int LA4_0 = input.LA(1);
-
- if ((LA4_0 == '0')) {
- int LA4_1 = input.LA(2);
-
- if ((LA4_1 == 'b')) {
- alt4 = 1;
- }
- else if ((LA4_1 == 'B')) {
- alt4 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 4, 1, input);
-
- throw nvae;
- }
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 4, 0, input);
-
- throw nvae;
- }
- switch (alt4) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:56: '0b'
- {
- match("0b");
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:61: '0B'
- {
- match("0B");
-
-
- }
- break;
-
- }
-
- matchRange('0', '1');
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:76: ( ( '_' )? '0' .. '1' )*
- loop6: do {
- int alt6 = 2;
- int LA6_0 = input.LA(1);
-
- if (((LA6_0 >= '0' && LA6_0 <= '1') || LA6_0 == '_')) {
- alt6 = 1;
- }
-
-
- switch (alt6) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:77: ( '_' )? '0' .. '1'
- {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:77: ( '_' )?
- int alt5 = 2;
- int LA5_0 = input.LA(1);
-
- if ((LA5_0 == '_')) {
- alt5 = 1;
- }
- switch (alt5) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:77: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- matchRange('0', '1');
-
- }
- break;
-
- default:
- break loop6;
- }
- } while (true);
-
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:93: ( '0x' | '0X' ) ( '0' .. '9' | 'a'
- // .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )*
- {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:93: ( '0x' | '0X' )
- int alt7 = 2;
- int LA7_0 = input.LA(1);
-
- if ((LA7_0 == '0')) {
- int LA7_1 = input.LA(2);
-
- if ((LA7_1 == 'x')) {
- alt7 = 1;
- }
- else if ((LA7_1 == 'X')) {
- alt7 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 7, 1, input);
-
- throw nvae;
- }
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 7, 0, input);
-
- throw nvae;
- }
- switch (alt7) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:94: '0x'
- {
- match("0x");
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:99: '0X'
- {
- match("0X");
-
-
- }
- break;
-
- }
-
- if ((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'F') || (input.LA(1) >= 'a' && input.LA(1) <= 'f')) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:134: ( ( '_' )? ( '0' .. '9' | 'a'
- // .. 'f' | 'A' .. 'F' ) )*
- loop9: do {
- int alt9 = 2;
- int LA9_0 = input.LA(1);
-
- if (((LA9_0 >= '0' && LA9_0 <= '9') || (LA9_0 >= 'A' && LA9_0 <= 'F') || LA9_0 == '_' || (LA9_0 >= 'a' && LA9_0 <= 'f'))) {
- alt9 = 1;
- }
-
-
- switch (alt9) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:135: ( '_' )? ( '0' .. '9' |
- // 'a' .. 'f' | 'A' .. 'F' )
- {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:135: ( '_' )?
- int alt8 = 2;
- int LA8_0 = input.LA(1);
-
- if ((LA8_0 == '_')) {
- alt8 = 1;
- }
- switch (alt8) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:135: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- if ((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'F') || (input.LA(1) >= 'a' && input.LA(1) <= 'f')) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
-
- }
- break;
-
- default:
- break loop9;
- }
- } while (true);
-
-
- }
- break;
- case 4:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:171: '0' ( '_' )? '0' .. '7' ( ( '_'
- // )? '0' .. '7' )*
- {
- match('0');
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:175: ( '_' )?
- int alt10 = 2;
- int LA10_0 = input.LA(1);
-
- if ((LA10_0 == '_')) {
- alt10 = 1;
- }
- switch (alt10) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:175: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- matchRange('0', '7');
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:189: ( ( '_' )? '0' .. '7' )*
- loop12: do {
- int alt12 = 2;
- int LA12_0 = input.LA(1);
-
- if (((LA12_0 >= '0' && LA12_0 <= '7') || LA12_0 == '_')) {
- alt12 = 1;
- }
-
-
- switch (alt12) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:190: ( '_' )? '0' .. '7'
- {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:190: ( '_' )?
- int alt11 = 2;
- int LA11_0 = input.LA(1);
-
- if ((LA11_0 == '_')) {
- alt11 = 1;
- }
- switch (alt11) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:190: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- matchRange('0', '7');
-
- }
- break;
-
- default:
- break loop12;
- }
- } while (true);
-
-
- }
- break;
-
- }
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_INTEGER_VALUE"
-
- // $ANTLR start "RULE_ID"
- public final void mRULE_ID() throws RecognitionException {
- try {
- int _type = RULE_ID;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:158:9: ( ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) (
- // 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' ) )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:158:11: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) (
- // 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' )
- {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:158:11: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_'
- // ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' )
- int alt16 = 2;
- int LA16_0 = input.LA(1);
-
- if (((LA16_0 >= 'A' && LA16_0 <= 'Z') || LA16_0 == '_' || (LA16_0 >= 'a' && LA16_0 <= 'z'))) {
- alt16 = 1;
- }
- else if ((LA16_0 == '\'')) {
- alt16 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 16, 0, input);
-
- throw nvae;
- }
- switch (alt16) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:158:12: ( 'a' .. 'z' | 'A' .. 'Z' | '_' )
- // ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
- {
- if ((input.LA(1) >= 'A' && input.LA(1) <= 'Z') || input.LA(1) == '_' || (input.LA(1) >= 'a' && input.LA(1) <= 'z')) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:158:36: ( 'a' .. 'z' | 'A' .. 'Z' |
- // '_' | '0' .. '9' )*
- loop14: do {
- int alt14 = 2;
- int LA14_0 = input.LA(1);
-
- if (((LA14_0 >= '0' && LA14_0 <= '9') || (LA14_0 >= 'A' && LA14_0 <= 'Z') || LA14_0 == '_' || (LA14_0 >= 'a' && LA14_0 <= 'z'))) {
- alt14 = 1;
- }
-
-
- switch (alt14) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:
- {
- if ((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'Z') || input.LA(1) == '_' || (input.LA(1) >= 'a' && input.LA(1) <= 'z')) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
-
- }
- break;
-
- default:
- break loop14;
- }
- } while (true);
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:158:70: '\\'' ( options {greedy=false; } :
- // . )* '\\''
- {
- match('\'');
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:158:75: ( options {greedy=false; } : .
- // )*
- loop15: do {
- int alt15 = 2;
- int LA15_0 = input.LA(1);
-
- if ((LA15_0 == '\'')) {
- alt15 = 2;
- }
- else if (((LA15_0 >= '\u0000' && LA15_0 <= '&') || (LA15_0 >= '(' && LA15_0 <= '\uFFFF'))) {
- alt15 = 1;
- }
-
-
- switch (alt15) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:158:103: .
- {
- matchAny();
-
- }
- break;
-
- default:
- break loop15;
- }
- } while (true);
-
- match('\'');
-
- }
- break;
-
- }
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_ID"
-
- // $ANTLR start "RULE_STRING"
- public final void mRULE_STRING() throws RecognitionException {
- try {
- int _type = RULE_STRING;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:160:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' |
- // 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:160:15: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f'
- // | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
- {
- match('\"');
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:160:19: ( '\\\\' ( 'b' | 't' | 'n' | 'f' |
- // 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
- loop17: do {
- int alt17 = 3;
- int LA17_0 = input.LA(1);
-
- if ((LA17_0 == '\\')) {
- alt17 = 1;
- }
- else if (((LA17_0 >= '\u0000' && LA17_0 <= '!') || (LA17_0 >= '#' && LA17_0 <= '[') || (LA17_0 >= ']' && LA17_0 <= '\uFFFF'))) {
- alt17 = 2;
- }
-
-
- switch (alt17) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:160:20: '\\\\' ( 'b' | 't' | 'n' | 'f'
- // | 'r' | '\"' | '\\'' | '\\\\' )
- {
- match('\\');
- if (input.LA(1) == '\"' || input.LA(1) == '\'' || input.LA(1) == '\\' || input.LA(1) == 'b' || input.LA(1) == 'f' || input.LA(1) == 'n' || input.LA(1) == 'r' || input.LA(1) == 't') {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:160:61: ~ ( ( '\\\\' | '\"' ) )
- {
- if ((input.LA(1) >= '\u0000' && input.LA(1) <= '!') || (input.LA(1) >= '#' && input.LA(1) <= '[') || (input.LA(1) >= ']' && input.LA(1) <= '\uFFFF')) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
-
- }
- break;
-
- default:
- break loop17;
- }
- } while (true);
-
- match('\"');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_STRING"
-
- // $ANTLR start "RULE_ML_COMMENT"
- public final void mRULE_ML_COMMENT() throws RecognitionException {
- try {
- int _type = RULE_ML_COMMENT;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:162:17: ( '/*' ~ ( '@' ) ( options
- // {greedy=false; } : . )* '*/' )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:162:19: '/*' ~ ( '@' ) ( options
- // {greedy=false; } : . )* '*/'
- {
- match("/*");
-
- if ((input.LA(1) >= '\u0000' && input.LA(1) <= '?') || (input.LA(1) >= 'A' && input.LA(1) <= '\uFFFF')) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:162:31: ( options {greedy=false; } : . )*
- loop18: do {
- int alt18 = 2;
- int LA18_0 = input.LA(1);
-
- if ((LA18_0 == '*')) {
- int LA18_1 = input.LA(2);
-
- if ((LA18_1 == '/')) {
- alt18 = 2;
- }
- else if (((LA18_1 >= '\u0000' && LA18_1 <= '.') || (LA18_1 >= '0' && LA18_1 <= '\uFFFF'))) {
- alt18 = 1;
- }
-
-
- }
- else if (((LA18_0 >= '\u0000' && LA18_0 <= ')') || (LA18_0 >= '+' && LA18_0 <= '\uFFFF'))) {
- alt18 = 1;
- }
-
-
- switch (alt18) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:162:59: .
- {
- matchAny();
-
- }
- break;
-
- default:
- break loop18;
- }
- } while (true);
-
- match("*/");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_ML_COMMENT"
-
- // $ANTLR start "RULE_SL_COMMENT"
- public final void mRULE_SL_COMMENT() throws RecognitionException {
- try {
- int _type = RULE_SL_COMMENT;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:17: ( '//' (~ ( ( '\\n' | '\\r' | '@' ) )
- // )* ( ( '\\r' )? '\\n' )? )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:19: '//' (~ ( ( '\\n' | '\\r' | '@' ) ) )*
- // ( ( '\\r' )? '\\n' )?
- {
- match("//");
-
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:24: (~ ( ( '\\n' | '\\r' | '@' ) ) )*
- loop19: do {
- int alt19 = 2;
- int LA19_0 = input.LA(1);
-
- if (((LA19_0 >= '\u0000' && LA19_0 <= '\t') || (LA19_0 >= '\u000B' && LA19_0 <= '\f') || (LA19_0 >= '\u000E' && LA19_0 <= '?') || (LA19_0 >= 'A' && LA19_0 <= '\uFFFF'))) {
- alt19 = 1;
- }
-
-
- switch (alt19) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:24: ~ ( ( '\\n' | '\\r' | '@' ) )
- {
- if ((input.LA(1) >= '\u0000' && input.LA(1) <= '\t') || (input.LA(1) >= '\u000B' && input.LA(1) <= '\f') || (input.LA(1) >= '\u000E' && input.LA(1) <= '?') || (input.LA(1) >= 'A' && input.LA(1) <= '\uFFFF')) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
-
- }
- break;
-
- default:
- break loop19;
- }
- } while (true);
-
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:44: ( ( '\\r' )? '\\n' )?
- int alt21 = 2;
- int LA21_0 = input.LA(1);
-
- if ((LA21_0 == '\n' || LA21_0 == '\r')) {
- alt21 = 1;
- }
- switch (alt21) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:45: ( '\\r' )? '\\n'
- {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:45: ( '\\r' )?
- int alt20 = 2;
- int LA20_0 = input.LA(1);
-
- if ((LA20_0 == '\r')) {
- alt20 = 1;
- }
- switch (alt20) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:45: '\\r'
- {
- match('\r');
-
- }
- break;
-
- }
-
- match('\n');
-
- }
- break;
-
- }
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_SL_COMMENT"
-
- // $ANTLR start "RULE_INT"
- public final void mRULE_INT() throws RecognitionException {
- try {
- int _type = RULE_INT;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:166:10: ( ( '0' .. '9' )+ )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:166:12: ( '0' .. '9' )+
- {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:166:12: ( '0' .. '9' )+
- int cnt22 = 0;
- loop22: do {
- int alt22 = 2;
- int LA22_0 = input.LA(1);
-
- if (((LA22_0 >= '0' && LA22_0 <= '9'))) {
- alt22 = 1;
- }
-
-
- switch (alt22) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:166:13: '0' .. '9'
- {
- matchRange('0', '9');
-
- }
- break;
-
- default:
- if (cnt22 >= 1) {
- break loop22;
- }
- EarlyExitException eee =
- new EarlyExitException(22, input);
- throw eee;
- }
- cnt22++;
- } while (true);
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_INT"
-
- // $ANTLR start "RULE_WS"
- public final void mRULE_WS() throws RecognitionException {
- try {
- int _type = RULE_WS;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:168:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:168:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
- {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:168:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
- int cnt23 = 0;
- loop23: do {
- int alt23 = 2;
- int LA23_0 = input.LA(1);
-
- if (((LA23_0 >= '\t' && LA23_0 <= '\n') || LA23_0 == '\r' || LA23_0 == ' ')) {
- alt23 = 1;
- }
-
-
- switch (alt23) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:
- {
- if ((input.LA(1) >= '\t' && input.LA(1) <= '\n') || input.LA(1) == '\r' || input.LA(1) == ' ') {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
-
- }
- break;
-
- default:
- if (cnt23 >= 1) {
- break loop23;
- }
- EarlyExitException eee =
- new EarlyExitException(23, input);
- throw eee;
- }
- cnt23++;
- } while (true);
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_WS"
-
- // $ANTLR start "RULE_ANY_OTHER"
- public final void mRULE_ANY_OTHER() throws RecognitionException {
- try {
- int _type = RULE_ANY_OTHER;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:170:16: ( . )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:170:18: .
- {
- matchAny();
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_ANY_OTHER"
-
- @Override
- public void mTokens() throws RecognitionException {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:8: ( T__12 | T__13 | T__14 | RULE_INTEGER_VALUE
- // | RULE_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_INT | RULE_WS | RULE_ANY_OTHER )
- int alt24 = 11;
- alt24 = dfa24.predict(input);
- switch (alt24) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:10: T__12
- {
- mT__12();
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:16: T__13
- {
- mT__13();
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:22: T__14
- {
- mT__14();
-
- }
- break;
- case 4:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:28: RULE_INTEGER_VALUE
- {
- mRULE_INTEGER_VALUE();
-
- }
- break;
- case 5:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:47: RULE_ID
- {
- mRULE_ID();
-
- }
- break;
- case 6:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:55: RULE_STRING
- {
- mRULE_STRING();
-
- }
- break;
- case 7:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:67: RULE_ML_COMMENT
- {
- mRULE_ML_COMMENT();
-
- }
- break;
- case 8:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:83: RULE_SL_COMMENT
- {
- mRULE_SL_COMMENT();
-
- }
- break;
- case 9:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:99: RULE_INT
- {
- mRULE_INT();
-
- }
- break;
- case 10:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:108: RULE_WS
- {
- mRULE_WS();
-
- }
- break;
- case 11:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:116: RULE_ANY_OTHER
- {
- mRULE_ANY_OTHER();
-
- }
- break;
-
- }
-
- }
-
-
- protected DFA24 dfa24 = new DFA24(this);
- static final String DFA24_eotS =
- "\1\uffff\1\15\1\uffff\2\17\1\uffff\3\12\2\uffff\2\15\3\uffff\1" +
- "\17\1\uffff\1\17\4\uffff\2\15\1\17\1\15\1\35\1\36\2\uffff";
- static final String DFA24_eofS =
- "\37\uffff";
- static final String DFA24_minS =
- "\1\0\1\156\1\uffff\2\60\1\uffff\2\0\1\52\2\uffff\1\164\1\151\3" +
- "\uffff\1\60\1\uffff\1\60\4\uffff\1\162\1\164\1\60\1\171\2\60\2\uffff";
- static final String DFA24_maxS =
- "\1\uffff\1\170\1\uffff\2\71\1\uffff\2\uffff\1\57\2\uffff\1\164" +
- "\1\151\3\uffff\1\71\1\uffff\1\71\4\uffff\1\162\1\164\1\71\1\171" +
- "\2\172\2\uffff";
- static final String DFA24_acceptS =
- "\2\uffff\1\2\2\uffff\1\5\3\uffff\1\12\1\13\2\uffff\1\5\1\2\1\4" +
- "\1\uffff\1\11\1\uffff\1\6\1\7\1\10\1\12\6\uffff\1\3\1\1";
- static final String DFA24_specialS =
- "\1\0\5\uffff\1\1\1\2\27\uffff}>";
- static final String[] DFA24_transitionS = {
- "\11\12\2\11\2\12\1\11\22\12\1\11\1\12\1\7\4\12\1\6\4\12\1\2" +
- "\2\12\1\10\1\3\11\4\7\12\32\5\4\12\1\5\1\12\4\5\1\1\25\5\uff85" +
- "\12",
- "\1\13\11\uffff\1\14",
- "",
- "\10\20\2\21",
- "\12\22",
- "",
- "\0\15",
- "\0\23",
- "\1\24\4\uffff\1\25",
- "",
- "",
- "\1\27",
- "\1\30",
- "",
- "",
- "",
- "\10\31\2\21",
- "",
- "\12\22",
- "",
- "",
- "",
- "",
- "\1\32",
- "\1\33",
- "\10\31\2\21",
- "\1\34",
- "\12\15\7\uffff\32\15\4\uffff\1\15\1\uffff\32\15",
- "\12\15\7\uffff\32\15\4\uffff\1\15\1\uffff\32\15",
- "",
- ""
- };
-
- static final short[] DFA24_eot = DFA.unpackEncodedString(DFA24_eotS);
- static final short[] DFA24_eof = DFA.unpackEncodedString(DFA24_eofS);
- static final char[] DFA24_min = DFA.unpackEncodedStringToUnsignedChars(DFA24_minS);
- static final char[] DFA24_max = DFA.unpackEncodedStringToUnsignedChars(DFA24_maxS);
- static final short[] DFA24_accept = DFA.unpackEncodedString(DFA24_acceptS);
- static final short[] DFA24_special = DFA.unpackEncodedString(DFA24_specialS);
- static final short[][] DFA24_transition;
-
- static {
- int numStates = DFA24_transitionS.length;
- DFA24_transition = new short[numStates][];
- for (int i = 0; i < numStates; i++) {
- DFA24_transition[i] = DFA.unpackEncodedString(DFA24_transitionS[i]);
- }
- }
-
- class DFA24 extends DFA {
-
- public DFA24(BaseRecognizer recognizer) {
- this.recognizer = recognizer;
- this.decisionNumber = 24;
- this.eot = DFA24_eot;
- this.eof = DFA24_eof;
- this.min = DFA24_min;
- this.max = DFA24_max;
- this.accept = DFA24_accept;
- this.special = DFA24_special;
- this.transition = DFA24_transition;
- }
-
- @Override
- public String getDescription() {
- return "1:1: Tokens : ( T__12 | T__13 | T__14 | RULE_INTEGER_VALUE | RULE_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_INT | RULE_WS | RULE_ANY_OTHER );";
- }
-
- @Override
- public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
- IntStream input = _input;
- int _s = s;
- switch (s) {
- case 0:
- int LA24_0 = input.LA(1);
-
- s = -1;
- if ((LA24_0 == 'e')) {
- s = 1;
- }
-
- else if ((LA24_0 == ',')) {
- s = 2;
- }
-
- else if ((LA24_0 == '0')) {
- s = 3;
- }
-
- else if (((LA24_0 >= '1' && LA24_0 <= '9'))) {
- s = 4;
- }
-
- else if (((LA24_0 >= 'A' && LA24_0 <= 'Z') || LA24_0 == '_' || (LA24_0 >= 'a' && LA24_0 <= 'd') || (LA24_0 >= 'f' && LA24_0 <= 'z'))) {
- s = 5;
- }
-
- else if ((LA24_0 == '\'')) {
- s = 6;
- }
-
- else if ((LA24_0 == '\"')) {
- s = 7;
- }
-
- else if ((LA24_0 == '/')) {
- s = 8;
- }
-
- else if (((LA24_0 >= '\t' && LA24_0 <= '\n') || LA24_0 == '\r' || LA24_0 == ' ')) {
- s = 9;
- }
-
- else if (((LA24_0 >= '\u0000' && LA24_0 <= '\b') || (LA24_0 >= '\u000B' && LA24_0 <= '\f') || (LA24_0 >= '\u000E' && LA24_0 <= '\u001F') || LA24_0 == '!' || (LA24_0 >= '#' && LA24_0 <= '&') || (LA24_0 >= '(' && LA24_0 <= '+')
- || (LA24_0 >= '-' && LA24_0 <= '.') || (LA24_0 >= ':' && LA24_0 <= '@') || (LA24_0 >= '[' && LA24_0 <= '^') || LA24_0 == '`' || (LA24_0 >= '{' && LA24_0 <= '\uFFFF'))) {
- s = 10;
- }
-
- if (s >= 0) {
- return s;
- }
- break;
- case 1:
- int LA24_6 = input.LA(1);
-
- s = -1;
- if (((LA24_6 >= '\u0000' && LA24_6 <= '\uFFFF'))) {
- s = 13;
- } else {
- s = 10;
- }
-
- if (s >= 0) {
- return s;
- }
- break;
- case 2:
- int LA24_7 = input.LA(1);
-
- s = -1;
- if (((LA24_7 >= '\u0000' && LA24_7 <= '\uFFFF'))) {
- s = 19;
- } else {
- s = 10;
- }
-
- if (s >= 0) {
- return s;
- }
- break;
- }
- NoViableAltException nvae =
- new NoViableAltException(getDescription(), 24, _s, input);
- error(nvae);
- throw nvae;
- }
- }
-
-
+package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.parser.antlr.internal;
+
+// Hack: Use our own Lexer superclass by means of import.
+// Currently there is no other way to specify the superclass for the lexer.
+import org.antlr.runtime.BaseRecognizer;
+import org.antlr.runtime.CharStream;
+import org.antlr.runtime.DFA;
+import org.antlr.runtime.EarlyExitException;
+import org.antlr.runtime.IntStream;
+import org.antlr.runtime.MismatchedSetException;
+import org.antlr.runtime.NoViableAltException;
+import org.antlr.runtime.RecognitionException;
+import org.antlr.runtime.RecognizerSharedState;
+import org.eclipse.xtext.parser.antlr.Lexer;
+
+@SuppressWarnings("all")
+public class InternalUMLConnectionPointReferenceLexer extends Lexer {
+ public static final int RULE_ID = 4;
+ public static final int RULE_STRING = 6;
+ public static final int T__12 = 12;
+ public static final int T__14 = 14;
+ public static final int T__13 = 13;
+ public static final int RULE_ANY_OTHER = 11;
+ public static final int RULE_INT = 9;
+ public static final int RULE_INTEGER_VALUE = 5;
+ public static final int RULE_WS = 10;
+ public static final int RULE_SL_COMMENT = 8;
+ public static final int EOF = -1;
+ public static final int RULE_ML_COMMENT = 7;
+
+ // delegates
+ // delegators
+
+ public InternalUMLConnectionPointReferenceLexer() {
+ ;
+ }
+
+ public InternalUMLConnectionPointReferenceLexer(CharStream input) {
+ this(input, new RecognizerSharedState());
+ }
+
+ public InternalUMLConnectionPointReferenceLexer(CharStream input, RecognizerSharedState state) {
+ super(input, state);
+
+ }
+
+ @Override
+ public String getGrammarFileName() {
+ return "../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g";
+ }
+
+ // $ANTLR start "T__12"
+ public final void mT__12() throws RecognitionException {
+ try {
+ int _type = T__12;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:11:7: ( 'entry' )
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:11:9: 'entry'
+ {
+ match("entry");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+
+ // $ANTLR end "T__12"
+
+ // $ANTLR start "T__13"
+ public final void mT__13() throws RecognitionException {
+ try {
+ int _type = T__13;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:12:7: ( ',' )
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:12:9: ','
+ {
+ match(',');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+
+ // $ANTLR end "T__13"
+
+ // $ANTLR start "T__14"
+ public final void mT__14() throws RecognitionException {
+ try {
+ int _type = T__14;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:13:7: ( 'exit' )
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:13:9: 'exit'
+ {
+ match("exit");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+
+ // $ANTLR end "T__14"
+
+ // $ANTLR start "RULE_INTEGER_VALUE"
+ public final void mRULE_INTEGER_VALUE() throws RecognitionException {
+ try {
+ int _type = RULE_INTEGER_VALUE;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:20: ( ( ( '0' | '1' .. '9' ( ( '_' )? '0'
+ // .. '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* ) )
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:22: ( ( '0' | '1' .. '9' ( ( '_' )? '0' ..
+ // '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* )
+ {
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:22: ( ( '0' | '1' .. '9' ( ( '_' )?
+ // '0' .. '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* )
+ int alt13 = 4;
+ int LA13_0 = input.LA(1);
+
+ if ((LA13_0 == '0')) {
+ switch (input.LA(2)) {
+ case 'B':
+ case 'b': {
+ alt13 = 2;
+ }
+ break;
+ case 'X':
+ case 'x': {
+ alt13 = 3;
+ }
+ break;
+ case '0':
+ case '1':
+ case '2':
+ case '3':
+ case '4':
+ case '5':
+ case '6':
+ case '7':
+ case '_': {
+ alt13 = 4;
+ }
+ break;
+ default:
+ alt13 = 1;
+ }
+
+ }
+ else if (((LA13_0 >= '1' && LA13_0 <= '9'))) {
+ alt13 = 1;
+ }
+ else {
+ NoViableAltException nvae =
+ new NoViableAltException("", 13, 0, input);
+
+ throw nvae;
+ }
+ switch (alt13) {
+ case 1:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:23: ( '0' | '1' .. '9' ( ( '_' )? '0'
+ // .. '9' )* )
+ {
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:23: ( '0' | '1' .. '9' ( ( '_' )?
+ // '0' .. '9' )* )
+ int alt3 = 2;
+ int LA3_0 = input.LA(1);
+
+ if ((LA3_0 == '0')) {
+ alt3 = 1;
+ }
+ else if (((LA3_0 >= '1' && LA3_0 <= '9'))) {
+ alt3 = 2;
+ }
+ else {
+ NoViableAltException nvae =
+ new NoViableAltException("", 3, 0, input);
+
+ throw nvae;
+ }
+ switch (alt3) {
+ case 1:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:24: '0'
+ {
+ match('0');
+
+ }
+ break;
+ case 2:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:28: '1' .. '9' ( ( '_' )? '0' ..
+ // '9' )*
+ {
+ matchRange('1', '9');
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:37: ( ( '_' )? '0' .. '9' )*
+ loop2: do {
+ int alt2 = 2;
+ int LA2_0 = input.LA(1);
+
+ if (((LA2_0 >= '0' && LA2_0 <= '9') || LA2_0 == '_')) {
+ alt2 = 1;
+ }
+
+
+ switch (alt2) {
+ case 1:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:38: ( '_' )? '0' .. '9'
+ {
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:38: ( '_' )?
+ int alt1 = 2;
+ int LA1_0 = input.LA(1);
+
+ if ((LA1_0 == '_')) {
+ alt1 = 1;
+ }
+ switch (alt1) {
+ case 1:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:38: '_'
+ {
+ match('_');
+
+ }
+ break;
+
+ }
+
+ matchRange('0', '9');
+
+ }
+ break;
+
+ default:
+ break loop2;
+ }
+ } while (true);
+
+
+ }
+ break;
+
+ }
+
+
+ }
+ break;
+ case 2:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:55: ( '0b' | '0B' ) '0' .. '1' ( ( '_'
+ // )? '0' .. '1' )*
+ {
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:55: ( '0b' | '0B' )
+ int alt4 = 2;
+ int LA4_0 = input.LA(1);
+
+ if ((LA4_0 == '0')) {
+ int LA4_1 = input.LA(2);
+
+ if ((LA4_1 == 'b')) {
+ alt4 = 1;
+ }
+ else if ((LA4_1 == 'B')) {
+ alt4 = 2;
+ }
+ else {
+ NoViableAltException nvae =
+ new NoViableAltException("", 4, 1, input);
+
+ throw nvae;
+ }
+ }
+ else {
+ NoViableAltException nvae =
+ new NoViableAltException("", 4, 0, input);
+
+ throw nvae;
+ }
+ switch (alt4) {
+ case 1:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:56: '0b'
+ {
+ match("0b");
+
+
+ }
+ break;
+ case 2:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:61: '0B'
+ {
+ match("0B");
+
+
+ }
+ break;
+
+ }
+
+ matchRange('0', '1');
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:76: ( ( '_' )? '0' .. '1' )*
+ loop6: do {
+ int alt6 = 2;
+ int LA6_0 = input.LA(1);
+
+ if (((LA6_0 >= '0' && LA6_0 <= '1') || LA6_0 == '_')) {
+ alt6 = 1;
+ }
+
+
+ switch (alt6) {
+ case 1:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:77: ( '_' )? '0' .. '1'
+ {
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:77: ( '_' )?
+ int alt5 = 2;
+ int LA5_0 = input.LA(1);
+
+ if ((LA5_0 == '_')) {
+ alt5 = 1;
+ }
+ switch (alt5) {
+ case 1:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:77: '_'
+ {
+ match('_');
+
+ }
+ break;
+
+ }
+
+ matchRange('0', '1');
+
+ }
+ break;
+
+ default:
+ break loop6;
+ }
+ } while (true);
+
+
+ }
+ break;
+ case 3:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:93: ( '0x' | '0X' ) ( '0' .. '9' | 'a'
+ // .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )*
+ {
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:93: ( '0x' | '0X' )
+ int alt7 = 2;
+ int LA7_0 = input.LA(1);
+
+ if ((LA7_0 == '0')) {
+ int LA7_1 = input.LA(2);
+
+ if ((LA7_1 == 'x')) {
+ alt7 = 1;
+ }
+ else if ((LA7_1 == 'X')) {
+ alt7 = 2;
+ }
+ else {
+ NoViableAltException nvae =
+ new NoViableAltException("", 7, 1, input);
+
+ throw nvae;
+ }
+ }
+ else {
+ NoViableAltException nvae =
+ new NoViableAltException("", 7, 0, input);
+
+ throw nvae;
+ }
+ switch (alt7) {
+ case 1:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:94: '0x'
+ {
+ match("0x");
+
+
+ }
+ break;
+ case 2:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:99: '0X'
+ {
+ match("0X");
+
+
+ }
+ break;
+
+ }
+
+ if ((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'F') || (input.LA(1) >= 'a' && input.LA(1) <= 'f')) {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null, input);
+ recover(mse);
+ throw mse;
+ }
+
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:134: ( ( '_' )? ( '0' .. '9' | 'a'
+ // .. 'f' | 'A' .. 'F' ) )*
+ loop9: do {
+ int alt9 = 2;
+ int LA9_0 = input.LA(1);
+
+ if (((LA9_0 >= '0' && LA9_0 <= '9') || (LA9_0 >= 'A' && LA9_0 <= 'F') || LA9_0 == '_' || (LA9_0 >= 'a' && LA9_0 <= 'f'))) {
+ alt9 = 1;
+ }
+
+
+ switch (alt9) {
+ case 1:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:135: ( '_' )? ( '0' .. '9' |
+ // 'a' .. 'f' | 'A' .. 'F' )
+ {
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:135: ( '_' )?
+ int alt8 = 2;
+ int LA8_0 = input.LA(1);
+
+ if ((LA8_0 == '_')) {
+ alt8 = 1;
+ }
+ switch (alt8) {
+ case 1:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:135: '_'
+ {
+ match('_');
+
+ }
+ break;
+
+ }
+
+ if ((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'F') || (input.LA(1) >= 'a' && input.LA(1) <= 'f')) {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null, input);
+ recover(mse);
+ throw mse;
+ }
+
+
+ }
+ break;
+
+ default:
+ break loop9;
+ }
+ } while (true);
+
+
+ }
+ break;
+ case 4:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:171: '0' ( '_' )? '0' .. '7' ( ( '_'
+ // )? '0' .. '7' )*
+ {
+ match('0');
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:175: ( '_' )?
+ int alt10 = 2;
+ int LA10_0 = input.LA(1);
+
+ if ((LA10_0 == '_')) {
+ alt10 = 1;
+ }
+ switch (alt10) {
+ case 1:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:175: '_'
+ {
+ match('_');
+
+ }
+ break;
+
+ }
+
+ matchRange('0', '7');
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:189: ( ( '_' )? '0' .. '7' )*
+ loop12: do {
+ int alt12 = 2;
+ int LA12_0 = input.LA(1);
+
+ if (((LA12_0 >= '0' && LA12_0 <= '7') || LA12_0 == '_')) {
+ alt12 = 1;
+ }
+
+
+ switch (alt12) {
+ case 1:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:190: ( '_' )? '0' .. '7'
+ {
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:190: ( '_' )?
+ int alt11 = 2;
+ int LA11_0 = input.LA(1);
+
+ if ((LA11_0 == '_')) {
+ alt11 = 1;
+ }
+ switch (alt11) {
+ case 1:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:190: '_'
+ {
+ match('_');
+
+ }
+ break;
+
+ }
+
+ matchRange('0', '7');
+
+ }
+ break;
+
+ default:
+ break loop12;
+ }
+ } while (true);
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+
+ // $ANTLR end "RULE_INTEGER_VALUE"
+
+ // $ANTLR start "RULE_ID"
+ public final void mRULE_ID() throws RecognitionException {
+ try {
+ int _type = RULE_ID;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:158:9: ( ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) (
+ // 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' ) )
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:158:11: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) (
+ // 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' )
+ {
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:158:11: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_'
+ // ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' )
+ int alt16 = 2;
+ int LA16_0 = input.LA(1);
+
+ if (((LA16_0 >= 'A' && LA16_0 <= 'Z') || LA16_0 == '_' || (LA16_0 >= 'a' && LA16_0 <= 'z'))) {
+ alt16 = 1;
+ }
+ else if ((LA16_0 == '\'')) {
+ alt16 = 2;
+ }
+ else {
+ NoViableAltException nvae =
+ new NoViableAltException("", 16, 0, input);
+
+ throw nvae;
+ }
+ switch (alt16) {
+ case 1:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:158:12: ( 'a' .. 'z' | 'A' .. 'Z' | '_' )
+ // ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ {
+ if ((input.LA(1) >= 'A' && input.LA(1) <= 'Z') || input.LA(1) == '_' || (input.LA(1) >= 'a' && input.LA(1) <= 'z')) {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null, input);
+ recover(mse);
+ throw mse;
+ }
+
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:158:36: ( 'a' .. 'z' | 'A' .. 'Z' |
+ // '_' | '0' .. '9' )*
+ loop14: do {
+ int alt14 = 2;
+ int LA14_0 = input.LA(1);
+
+ if (((LA14_0 >= '0' && LA14_0 <= '9') || (LA14_0 >= 'A' && LA14_0 <= 'Z') || LA14_0 == '_' || (LA14_0 >= 'a' && LA14_0 <= 'z'))) {
+ alt14 = 1;
+ }
+
+
+ switch (alt14) {
+ case 1:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:
+ {
+ if ((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'Z') || input.LA(1) == '_' || (input.LA(1) >= 'a' && input.LA(1) <= 'z')) {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null, input);
+ recover(mse);
+ throw mse;
+ }
+
+
+ }
+ break;
+
+ default:
+ break loop14;
+ }
+ } while (true);
+
+
+ }
+ break;
+ case 2:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:158:70: '\\'' ( options {greedy=false; } :
+ // . )* '\\''
+ {
+ match('\'');
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:158:75: ( options {greedy=false; } : .
+ // )*
+ loop15: do {
+ int alt15 = 2;
+ int LA15_0 = input.LA(1);
+
+ if ((LA15_0 == '\'')) {
+ alt15 = 2;
+ }
+ else if (((LA15_0 >= '\u0000' && LA15_0 <= '&') || (LA15_0 >= '(' && LA15_0 <= '\uFFFF'))) {
+ alt15 = 1;
+ }
+
+
+ switch (alt15) {
+ case 1:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:158:103: .
+ {
+ matchAny();
+
+ }
+ break;
+
+ default:
+ break loop15;
+ }
+ } while (true);
+
+ match('\'');
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+
+ // $ANTLR end "RULE_ID"
+
+ // $ANTLR start "RULE_STRING"
+ public final void mRULE_STRING() throws RecognitionException {
+ try {
+ int _type = RULE_STRING;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:160:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' |
+ // 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' )
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:160:15: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f'
+ // | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
+ {
+ match('\"');
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:160:19: ( '\\\\' ( 'b' | 't' | 'n' | 'f' |
+ // 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
+ loop17: do {
+ int alt17 = 3;
+ int LA17_0 = input.LA(1);
+
+ if ((LA17_0 == '\\')) {
+ alt17 = 1;
+ }
+ else if (((LA17_0 >= '\u0000' && LA17_0 <= '!') || (LA17_0 >= '#' && LA17_0 <= '[') || (LA17_0 >= ']' && LA17_0 <= '\uFFFF'))) {
+ alt17 = 2;
+ }
+
+
+ switch (alt17) {
+ case 1:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:160:20: '\\\\' ( 'b' | 't' | 'n' | 'f'
+ // | 'r' | '\"' | '\\'' | '\\\\' )
+ {
+ match('\\');
+ if (input.LA(1) == '\"' || input.LA(1) == '\'' || input.LA(1) == '\\' || input.LA(1) == 'b' || input.LA(1) == 'f' || input.LA(1) == 'n' || input.LA(1) == 'r' || input.LA(1) == 't') {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null, input);
+ recover(mse);
+ throw mse;
+ }
+
+
+ }
+ break;
+ case 2:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:160:61: ~ ( ( '\\\\' | '\"' ) )
+ {
+ if ((input.LA(1) >= '\u0000' && input.LA(1) <= '!') || (input.LA(1) >= '#' && input.LA(1) <= '[') || (input.LA(1) >= ']' && input.LA(1) <= '\uFFFF')) {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null, input);
+ recover(mse);
+ throw mse;
+ }
+
+
+ }
+ break;
+
+ default:
+ break loop17;
+ }
+ } while (true);
+
+ match('\"');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+
+ // $ANTLR end "RULE_STRING"
+
+ // $ANTLR start "RULE_ML_COMMENT"
+ public final void mRULE_ML_COMMENT() throws RecognitionException {
+ try {
+ int _type = RULE_ML_COMMENT;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:162:17: ( '/*' ~ ( '@' ) ( options
+ // {greedy=false; } : . )* '*/' )
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:162:19: '/*' ~ ( '@' ) ( options
+ // {greedy=false; } : . )* '*/'
+ {
+ match("/*");
+
+ if ((input.LA(1) >= '\u0000' && input.LA(1) <= '?') || (input.LA(1) >= 'A' && input.LA(1) <= '\uFFFF')) {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null, input);
+ recover(mse);
+ throw mse;
+ }
+
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:162:31: ( options {greedy=false; } : . )*
+ loop18: do {
+ int alt18 = 2;
+ int LA18_0 = input.LA(1);
+
+ if ((LA18_0 == '*')) {
+ int LA18_1 = input.LA(2);
+
+ if ((LA18_1 == '/')) {
+ alt18 = 2;
+ }
+ else if (((LA18_1 >= '\u0000' && LA18_1 <= '.') || (LA18_1 >= '0' && LA18_1 <= '\uFFFF'))) {
+ alt18 = 1;
+ }
+
+
+ }
+ else if (((LA18_0 >= '\u0000' && LA18_0 <= ')') || (LA18_0 >= '+' && LA18_0 <= '\uFFFF'))) {
+ alt18 = 1;
+ }
+
+
+ switch (alt18) {
+ case 1:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:162:59: .
+ {
+ matchAny();
+
+ }
+ break;
+
+ default:
+ break loop18;
+ }
+ } while (true);
+
+ match("*/");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+
+ // $ANTLR end "RULE_ML_COMMENT"
+
+ // $ANTLR start "RULE_SL_COMMENT"
+ public final void mRULE_SL_COMMENT() throws RecognitionException {
+ try {
+ int _type = RULE_SL_COMMENT;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:17: ( '//' (~ ( ( '\\n' | '\\r' | '@' ) )
+ // )* ( ( '\\r' )? '\\n' )? )
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:19: '//' (~ ( ( '\\n' | '\\r' | '@' ) ) )*
+ // ( ( '\\r' )? '\\n' )?
+ {
+ match("//");
+
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:24: (~ ( ( '\\n' | '\\r' | '@' ) ) )*
+ loop19: do {
+ int alt19 = 2;
+ int LA19_0 = input.LA(1);
+
+ if (((LA19_0 >= '\u0000' && LA19_0 <= '\t') || (LA19_0 >= '\u000B' && LA19_0 <= '\f') || (LA19_0 >= '\u000E' && LA19_0 <= '?') || (LA19_0 >= 'A' && LA19_0 <= '\uFFFF'))) {
+ alt19 = 1;
+ }
+
+
+ switch (alt19) {
+ case 1:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:24: ~ ( ( '\\n' | '\\r' | '@' ) )
+ {
+ if ((input.LA(1) >= '\u0000' && input.LA(1) <= '\t') || (input.LA(1) >= '\u000B' && input.LA(1) <= '\f') || (input.LA(1) >= '\u000E' && input.LA(1) <= '?') || (input.LA(1) >= 'A' && input.LA(1) <= '\uFFFF')) {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null, input);
+ recover(mse);
+ throw mse;
+ }
+
+
+ }
+ break;
+
+ default:
+ break loop19;
+ }
+ } while (true);
+
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:44: ( ( '\\r' )? '\\n' )?
+ int alt21 = 2;
+ int LA21_0 = input.LA(1);
+
+ if ((LA21_0 == '\n' || LA21_0 == '\r')) {
+ alt21 = 1;
+ }
+ switch (alt21) {
+ case 1:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:45: ( '\\r' )? '\\n'
+ {
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:45: ( '\\r' )?
+ int alt20 = 2;
+ int LA20_0 = input.LA(1);
+
+ if ((LA20_0 == '\r')) {
+ alt20 = 1;
+ }
+ switch (alt20) {
+ case 1:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:45: '\\r'
+ {
+ match('\r');
+
+ }
+ break;
+
+ }
+
+ match('\n');
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+
+ // $ANTLR end "RULE_SL_COMMENT"
+
+ // $ANTLR start "RULE_INT"
+ public final void mRULE_INT() throws RecognitionException {
+ try {
+ int _type = RULE_INT;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:166:10: ( ( '0' .. '9' )+ )
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:166:12: ( '0' .. '9' )+
+ {
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:166:12: ( '0' .. '9' )+
+ int cnt22 = 0;
+ loop22: do {
+ int alt22 = 2;
+ int LA22_0 = input.LA(1);
+
+ if (((LA22_0 >= '0' && LA22_0 <= '9'))) {
+ alt22 = 1;
+ }
+
+
+ switch (alt22) {
+ case 1:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:166:13: '0' .. '9'
+ {
+ matchRange('0', '9');
+
+ }
+ break;
+
+ default:
+ if (cnt22 >= 1) {
+ break loop22;
+ }
+ EarlyExitException eee =
+ new EarlyExitException(22, input);
+ throw eee;
+ }
+ cnt22++;
+ } while (true);
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+
+ // $ANTLR end "RULE_INT"
+
+ // $ANTLR start "RULE_WS"
+ public final void mRULE_WS() throws RecognitionException {
+ try {
+ int _type = RULE_WS;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:168:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:168:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ {
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:168:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ int cnt23 = 0;
+ loop23: do {
+ int alt23 = 2;
+ int LA23_0 = input.LA(1);
+
+ if (((LA23_0 >= '\t' && LA23_0 <= '\n') || LA23_0 == '\r' || LA23_0 == ' ')) {
+ alt23 = 1;
+ }
+
+
+ switch (alt23) {
+ case 1:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:
+ {
+ if ((input.LA(1) >= '\t' && input.LA(1) <= '\n') || input.LA(1) == '\r' || input.LA(1) == ' ') {
+ input.consume();
+
+ }
+ else {
+ MismatchedSetException mse = new MismatchedSetException(null, input);
+ recover(mse);
+ throw mse;
+ }
+
+
+ }
+ break;
+
+ default:
+ if (cnt23 >= 1) {
+ break loop23;
+ }
+ EarlyExitException eee =
+ new EarlyExitException(23, input);
+ throw eee;
+ }
+ cnt23++;
+ } while (true);
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+
+ // $ANTLR end "RULE_WS"
+
+ // $ANTLR start "RULE_ANY_OTHER"
+ public final void mRULE_ANY_OTHER() throws RecognitionException {
+ try {
+ int _type = RULE_ANY_OTHER;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:170:16: ( . )
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:170:18: .
+ {
+ matchAny();
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+
+ // $ANTLR end "RULE_ANY_OTHER"
+
+ @Override
+ public void mTokens() throws RecognitionException {
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:8: ( T__12 | T__13 | T__14 | RULE_INTEGER_VALUE
+ // | RULE_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_INT | RULE_WS | RULE_ANY_OTHER )
+ int alt24 = 11;
+ alt24 = dfa24.predict(input);
+ switch (alt24) {
+ case 1:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:10: T__12
+ {
+ mT__12();
+
+ }
+ break;
+ case 2:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:16: T__13
+ {
+ mT__13();
+
+ }
+ break;
+ case 3:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:22: T__14
+ {
+ mT__14();
+
+ }
+ break;
+ case 4:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:28: RULE_INTEGER_VALUE
+ {
+ mRULE_INTEGER_VALUE();
+
+ }
+ break;
+ case 5:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:47: RULE_ID
+ {
+ mRULE_ID();
+
+ }
+ break;
+ case 6:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:55: RULE_STRING
+ {
+ mRULE_STRING();
+
+ }
+ break;
+ case 7:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:67: RULE_ML_COMMENT
+ {
+ mRULE_ML_COMMENT();
+
+ }
+ break;
+ case 8:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:83: RULE_SL_COMMENT
+ {
+ mRULE_SL_COMMENT();
+
+ }
+ break;
+ case 9:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:99: RULE_INT
+ {
+ mRULE_INT();
+
+ }
+ break;
+ case 10:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:108: RULE_WS
+ {
+ mRULE_WS();
+
+ }
+ break;
+ case 11:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:116: RULE_ANY_OTHER
+ {
+ mRULE_ANY_OTHER();
+
+ }
+ break;
+
+ }
+
+ }
+
+
+ protected DFA24 dfa24 = new DFA24(this);
+ static final String DFA24_eotS =
+ "\1\uffff\1\15\1\uffff\2\17\1\uffff\3\12\2\uffff\2\15\3\uffff\1" +
+ "\17\1\uffff\1\17\4\uffff\2\15\1\17\1\15\1\35\1\36\2\uffff";
+ static final String DFA24_eofS =
+ "\37\uffff";
+ static final String DFA24_minS =
+ "\1\0\1\156\1\uffff\2\60\1\uffff\2\0\1\52\2\uffff\1\164\1\151\3" +
+ "\uffff\1\60\1\uffff\1\60\4\uffff\1\162\1\164\1\60\1\171\2\60\2\uffff";
+ static final String DFA24_maxS =
+ "\1\uffff\1\170\1\uffff\2\71\1\uffff\2\uffff\1\57\2\uffff\1\164" +
+ "\1\151\3\uffff\1\71\1\uffff\1\71\4\uffff\1\162\1\164\1\71\1\171" +
+ "\2\172\2\uffff";
+ static final String DFA24_acceptS =
+ "\2\uffff\1\2\2\uffff\1\5\3\uffff\1\12\1\13\2\uffff\1\5\1\2\1\4" +
+ "\1\uffff\1\11\1\uffff\1\6\1\7\1\10\1\12\6\uffff\1\3\1\1";
+ static final String DFA24_specialS =
+ "\1\0\5\uffff\1\1\1\2\27\uffff}>";
+ static final String[] DFA24_transitionS = {
+ "\11\12\2\11\2\12\1\11\22\12\1\11\1\12\1\7\4\12\1\6\4\12\1\2" +
+ "\2\12\1\10\1\3\11\4\7\12\32\5\4\12\1\5\1\12\4\5\1\1\25\5\uff85" +
+ "\12",
+ "\1\13\11\uffff\1\14",
+ "",
+ "\10\20\2\21",
+ "\12\22",
+ "",
+ "\0\15",
+ "\0\23",
+ "\1\24\4\uffff\1\25",
+ "",
+ "",
+ "\1\27",
+ "\1\30",
+ "",
+ "",
+ "",
+ "\10\31\2\21",
+ "",
+ "\12\22",
+ "",
+ "",
+ "",
+ "",
+ "\1\32",
+ "\1\33",
+ "\10\31\2\21",
+ "\1\34",
+ "\12\15\7\uffff\32\15\4\uffff\1\15\1\uffff\32\15",
+ "\12\15\7\uffff\32\15\4\uffff\1\15\1\uffff\32\15",
+ "",
+ ""
+ };
+
+ static final short[] DFA24_eot = DFA.unpackEncodedString(DFA24_eotS);
+ static final short[] DFA24_eof = DFA.unpackEncodedString(DFA24_eofS);
+ static final char[] DFA24_min = DFA.unpackEncodedStringToUnsignedChars(DFA24_minS);
+ static final char[] DFA24_max = DFA.unpackEncodedStringToUnsignedChars(DFA24_maxS);
+ static final short[] DFA24_accept = DFA.unpackEncodedString(DFA24_acceptS);
+ static final short[] DFA24_special = DFA.unpackEncodedString(DFA24_specialS);
+ static final short[][] DFA24_transition;
+
+ static {
+ int numStates = DFA24_transitionS.length;
+ DFA24_transition = new short[numStates][];
+ for (int i = 0; i < numStates; i++) {
+ DFA24_transition[i] = DFA.unpackEncodedString(DFA24_transitionS[i]);
+ }
+ }
+
+ class DFA24 extends DFA {
+
+ public DFA24(BaseRecognizer recognizer) {
+ this.recognizer = recognizer;
+ this.decisionNumber = 24;
+ this.eot = DFA24_eot;
+ this.eof = DFA24_eof;
+ this.min = DFA24_min;
+ this.max = DFA24_max;
+ this.accept = DFA24_accept;
+ this.special = DFA24_special;
+ this.transition = DFA24_transition;
+ }
+
+ @Override
+ public String getDescription() {
+ return "1:1: Tokens : ( T__12 | T__13 | T__14 | RULE_INTEGER_VALUE | RULE_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_INT | RULE_WS | RULE_ANY_OTHER );";
+ }
+
+ @Override
+ public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
+ IntStream input = _input;
+ int _s = s;
+ switch (s) {
+ case 0:
+ int LA24_0 = input.LA(1);
+
+ s = -1;
+ if ((LA24_0 == 'e')) {
+ s = 1;
+ }
+
+ else if ((LA24_0 == ',')) {
+ s = 2;
+ }
+
+ else if ((LA24_0 == '0')) {
+ s = 3;
+ }
+
+ else if (((LA24_0 >= '1' && LA24_0 <= '9'))) {
+ s = 4;
+ }
+
+ else if (((LA24_0 >= 'A' && LA24_0 <= 'Z') || LA24_0 == '_' || (LA24_0 >= 'a' && LA24_0 <= 'd') || (LA24_0 >= 'f' && LA24_0 <= 'z'))) {
+ s = 5;
+ }
+
+ else if ((LA24_0 == '\'')) {
+ s = 6;
+ }
+
+ else if ((LA24_0 == '\"')) {
+ s = 7;
+ }
+
+ else if ((LA24_0 == '/')) {
+ s = 8;
+ }
+
+ else if (((LA24_0 >= '\t' && LA24_0 <= '\n') || LA24_0 == '\r' || LA24_0 == ' ')) {
+ s = 9;
+ }
+
+ else if (((LA24_0 >= '\u0000' && LA24_0 <= '\b') || (LA24_0 >= '\u000B' && LA24_0 <= '\f') || (LA24_0 >= '\u000E' && LA24_0 <= '\u001F') || LA24_0 == '!' || (LA24_0 >= '#' && LA24_0 <= '&') || (LA24_0 >= '(' && LA24_0 <= '+')
+ || (LA24_0 >= '-' && LA24_0 <= '.') || (LA24_0 >= ':' && LA24_0 <= '@') || (LA24_0 >= '[' && LA24_0 <= '^') || LA24_0 == '`' || (LA24_0 >= '{' && LA24_0 <= '\uFFFF'))) {
+ s = 10;
+ }
+
+ if (s >= 0) {
+ return s;
+ }
+ break;
+ case 1:
+ int LA24_6 = input.LA(1);
+
+ s = -1;
+ if (((LA24_6 >= '\u0000' && LA24_6 <= '\uFFFF'))) {
+ s = 13;
+ } else {
+ s = 10;
+ }
+
+ if (s >= 0) {
+ return s;
+ }
+ break;
+ case 2:
+ int LA24_7 = input.LA(1);
+
+ s = -1;
+ if (((LA24_7 >= '\u0000' && LA24_7 <= '\uFFFF'))) {
+ s = 19;
+ } else {
+ s = 10;
+ }
+
+ if (s >= 0) {
+ return s;
+ }
+ break;
+ }
+ NoViableAltException nvae =
+ new NoViableAltException(getDescription(), 24, _s, input);
+ error(nvae);
+ throw nvae;
+ }
+ }
+
+
} \ No newline at end of file
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReferenceParser.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReferenceParser.java
index 9bcb5e3c8dd..63ae465282c 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReferenceParser.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReferenceParser.java
@@ -1,373 +1,373 @@
-package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.parser.antlr.internal;
-
-import org.antlr.runtime.BitSet;
-import org.antlr.runtime.RecognitionException;
-import org.antlr.runtime.RecognizerSharedState;
-import org.antlr.runtime.Token;
-import org.antlr.runtime.TokenStream;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.services.UMLConnectionPointReferenceGrammarAccess;
-import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
-
-@SuppressWarnings("all")
-public class InternalUMLConnectionPointReferenceParser extends AbstractInternalAntlrParser {
- public static final String[] tokenNames = new String[] {
- "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INTEGER_VALUE", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_INT", "RULE_WS", "RULE_ANY_OTHER", "'entry'", "','", "'exit'"
- };
- public static final int RULE_ID = 4;
- public static final int RULE_STRING = 6;
- public static final int T__12 = 12;
- public static final int T__14 = 14;
- public static final int T__13 = 13;
- public static final int RULE_ANY_OTHER = 11;
- public static final int RULE_INT = 9;
- public static final int RULE_INTEGER_VALUE = 5;
- public static final int RULE_WS = 10;
- public static final int RULE_SL_COMMENT = 8;
- public static final int EOF = -1;
- public static final int RULE_ML_COMMENT = 7;
-
- // delegates
- // delegators
-
-
- public InternalUMLConnectionPointReferenceParser(TokenStream input) {
- this(input, new RecognizerSharedState());
- }
-
- public InternalUMLConnectionPointReferenceParser(TokenStream input, RecognizerSharedState state) {
- super(input, state);
-
- }
-
-
- @Override
- public String[] getTokenNames() {
- return InternalUMLConnectionPointReferenceParser.tokenNames;
- }
-
- @Override
- public String getGrammarFileName() {
- return "../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g";
- }
-
-
-
- private UMLConnectionPointReferenceGrammarAccess grammarAccess;
-
- public InternalUMLConnectionPointReferenceParser(TokenStream input, UMLConnectionPointReferenceGrammarAccess grammarAccess) {
- this(input);
- this.grammarAccess = grammarAccess;
- registerRules(grammarAccess.getGrammar());
- }
-
- @Override
- protected String getFirstRuleName() {
- return "ConnectionPointReferenceRule";
- }
-
- @Override
- protected UMLConnectionPointReferenceGrammarAccess getGrammarAccess() {
- return grammarAccess;
- }
-
-
-
- // $ANTLR start "entryRuleConnectionPointReferenceRule"
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:67:1: entryRuleConnectionPointReferenceRule returns
- // [EObject current=null] : iv_ruleConnectionPointReferenceRule= ruleConnectionPointReferenceRule EOF ;
- public final EObject entryRuleConnectionPointReferenceRule() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleConnectionPointReferenceRule = null;
-
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:68:2: (iv_ruleConnectionPointReferenceRule=
- // ruleConnectionPointReferenceRule EOF )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:69:2: iv_ruleConnectionPointReferenceRule=
- // ruleConnectionPointReferenceRule EOF
- {
- newCompositeNode(grammarAccess.getConnectionPointReferenceRuleRule());
- pushFollow(FOLLOW_ruleConnectionPointReferenceRule_in_entryRuleConnectionPointReferenceRule75);
- iv_ruleConnectionPointReferenceRule = ruleConnectionPointReferenceRule();
-
- state._fsp--;
-
- current = iv_ruleConnectionPointReferenceRule;
- match(input, EOF, FOLLOW_EOF_in_entryRuleConnectionPointReferenceRule85);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleConnectionPointReferenceRule"
-
-
- // $ANTLR start "ruleConnectionPointReferenceRule"
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:76:1: ruleConnectionPointReferenceRule returns
- // [EObject current=null] : ( (otherlv_0= 'entry' ( (otherlv_1= RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* ) | (otherlv_4= 'exit' ( (otherlv_5= RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* ) )? ;
- public final EObject ruleConnectionPointReferenceRule() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- Token otherlv_1 = null;
- Token otherlv_2 = null;
- Token otherlv_3 = null;
- Token otherlv_4 = null;
- Token otherlv_5 = null;
- Token otherlv_6 = null;
- Token otherlv_7 = null;
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:79:28: ( ( (otherlv_0= 'entry' ( (otherlv_1=
- // RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* ) | (otherlv_4= 'exit' ( (otherlv_5= RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* ) )? )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:80:1: ( (otherlv_0= 'entry' ( (otherlv_1=
- // RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* ) | (otherlv_4= 'exit' ( (otherlv_5= RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* ) )?
- {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:80:1: ( (otherlv_0= 'entry' ( (otherlv_1=
- // RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* ) | (otherlv_4= 'exit' ( (otherlv_5= RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* ) )?
- int alt3 = 3;
- int LA3_0 = input.LA(1);
-
- if ((LA3_0 == 12)) {
- alt3 = 1;
- }
- else if ((LA3_0 == 14)) {
- alt3 = 2;
- }
- switch (alt3) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:80:2: (otherlv_0= 'entry' ( (otherlv_1=
- // RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* )
- {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:80:2: (otherlv_0= 'entry' (
- // (otherlv_1= RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:80:4: otherlv_0= 'entry' ( (otherlv_1=
- // RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )*
- {
- otherlv_0 = (Token) match(input, 12, FOLLOW_12_in_ruleConnectionPointReferenceRule123);
-
- newLeafNode(otherlv_0, grammarAccess.getConnectionPointReferenceRuleAccess().getEntryKeyword_0_0());
-
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:84:1: ( (otherlv_1= RULE_ID ) )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:85:1: (otherlv_1= RULE_ID )
- {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:85:1: (otherlv_1= RULE_ID )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:86:3: otherlv_1= RULE_ID
- {
-
- if (current == null) {
- current = createModelElement(grammarAccess.getConnectionPointReferenceRuleRule());
- }
-
- otherlv_1 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule143);
-
- newLeafNode(otherlv_1, grammarAccess.getConnectionPointReferenceRuleAccess().getEntryPseudostateCrossReference_0_1_0());
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:97:2: (otherlv_2= ',' (
- // (otherlv_3= RULE_ID ) ) )*
- loop1: do {
- int alt1 = 2;
- int LA1_0 = input.LA(1);
-
- if ((LA1_0 == 13)) {
- alt1 = 1;
- }
-
-
- switch (alt1) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:97:4: otherlv_2= ',' (
- // (otherlv_3= RULE_ID ) )
- {
- otherlv_2 = (Token) match(input, 13, FOLLOW_13_in_ruleConnectionPointReferenceRule156);
-
- newLeafNode(otherlv_2, grammarAccess.getConnectionPointReferenceRuleAccess().getCommaKeyword_0_2_0());
-
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:101:1: ( (otherlv_3=
- // RULE_ID ) )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:102:1: (otherlv_3= RULE_ID
- // )
- {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:102:1: (otherlv_3=
- // RULE_ID )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:103:3: otherlv_3=
- // RULE_ID
- {
-
- if (current == null) {
- current = createModelElement(grammarAccess.getConnectionPointReferenceRuleRule());
- }
-
- otherlv_3 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule176);
-
- newLeafNode(otherlv_3, grammarAccess.getConnectionPointReferenceRuleAccess().getEntryPseudostateCrossReference_0_2_1_0());
-
-
- }
-
-
- }
-
-
- }
- break;
-
- default:
- break loop1;
- }
- } while (true);
-
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:115:6: (otherlv_4= 'exit' ( (otherlv_5=
- // RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* )
- {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:115:6: (otherlv_4= 'exit' (
- // (otherlv_5= RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:115:8: otherlv_4= 'exit' ( (otherlv_5=
- // RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )*
- {
- otherlv_4 = (Token) match(input, 14, FOLLOW_14_in_ruleConnectionPointReferenceRule198);
-
- newLeafNode(otherlv_4, grammarAccess.getConnectionPointReferenceRuleAccess().getExitKeyword_1_0());
-
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:119:1: ( (otherlv_5= RULE_ID ) )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:120:1: (otherlv_5= RULE_ID )
- {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:120:1: (otherlv_5= RULE_ID )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:121:3: otherlv_5= RULE_ID
- {
-
- if (current == null) {
- current = createModelElement(grammarAccess.getConnectionPointReferenceRuleRule());
- }
-
- otherlv_5 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule218);
-
- newLeafNode(otherlv_5, grammarAccess.getConnectionPointReferenceRuleAccess().getExitPseudostateCrossReference_1_1_0());
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:132:2: (otherlv_6= ',' (
- // (otherlv_7= RULE_ID ) ) )*
- loop2: do {
- int alt2 = 2;
- int LA2_0 = input.LA(1);
-
- if ((LA2_0 == 13)) {
- alt2 = 1;
- }
-
-
- switch (alt2) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:132:4: otherlv_6= ',' (
- // (otherlv_7= RULE_ID ) )
- {
- otherlv_6 = (Token) match(input, 13, FOLLOW_13_in_ruleConnectionPointReferenceRule231);
-
- newLeafNode(otherlv_6, grammarAccess.getConnectionPointReferenceRuleAccess().getCommaKeyword_1_2_0());
-
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:136:1: ( (otherlv_7=
- // RULE_ID ) )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:137:1: (otherlv_7= RULE_ID
- // )
- {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:137:1: (otherlv_7=
- // RULE_ID )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:138:3: otherlv_7=
- // RULE_ID
- {
-
- if (current == null) {
- current = createModelElement(grammarAccess.getConnectionPointReferenceRuleRule());
- }
-
- otherlv_7 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule251);
-
- newLeafNode(otherlv_7, grammarAccess.getConnectionPointReferenceRuleAccess().getExitPseudostateCrossReference_1_2_1_0());
-
-
- }
-
-
- }
-
-
- }
- break;
-
- default:
- break loop2;
- }
- } while (true);
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleConnectionPointReferenceRule"
-
- // Delegated rules
-
-
-
-
- public static final BitSet FOLLOW_ruleConnectionPointReferenceRule_in_entryRuleConnectionPointReferenceRule75 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleConnectionPointReferenceRule85 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_12_in_ruleConnectionPointReferenceRule123 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule143 = new BitSet(new long[] { 0x0000000000002002L });
- public static final BitSet FOLLOW_13_in_ruleConnectionPointReferenceRule156 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule176 = new BitSet(new long[] { 0x0000000000002002L });
- public static final BitSet FOLLOW_14_in_ruleConnectionPointReferenceRule198 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule218 = new BitSet(new long[] { 0x0000000000002002L });
- public static final BitSet FOLLOW_13_in_ruleConnectionPointReferenceRule231 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule251 = new BitSet(new long[] { 0x0000000000002002L });
-
+package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.parser.antlr.internal;
+
+import org.antlr.runtime.BitSet;
+import org.antlr.runtime.RecognitionException;
+import org.antlr.runtime.RecognizerSharedState;
+import org.antlr.runtime.Token;
+import org.antlr.runtime.TokenStream;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.services.UMLConnectionPointReferenceGrammarAccess;
+import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
+
+@SuppressWarnings("all")
+public class InternalUMLConnectionPointReferenceParser extends AbstractInternalAntlrParser {
+ public static final String[] tokenNames = new String[] {
+ "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INTEGER_VALUE", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_INT", "RULE_WS", "RULE_ANY_OTHER", "'entry'", "','", "'exit'"
+ };
+ public static final int RULE_ID = 4;
+ public static final int RULE_STRING = 6;
+ public static final int T__12 = 12;
+ public static final int T__14 = 14;
+ public static final int T__13 = 13;
+ public static final int RULE_ANY_OTHER = 11;
+ public static final int RULE_INT = 9;
+ public static final int RULE_INTEGER_VALUE = 5;
+ public static final int RULE_WS = 10;
+ public static final int RULE_SL_COMMENT = 8;
+ public static final int EOF = -1;
+ public static final int RULE_ML_COMMENT = 7;
+
+ // delegates
+ // delegators
+
+
+ public InternalUMLConnectionPointReferenceParser(TokenStream input) {
+ this(input, new RecognizerSharedState());
+ }
+
+ public InternalUMLConnectionPointReferenceParser(TokenStream input, RecognizerSharedState state) {
+ super(input, state);
+
+ }
+
+
+ @Override
+ public String[] getTokenNames() {
+ return InternalUMLConnectionPointReferenceParser.tokenNames;
+ }
+
+ @Override
+ public String getGrammarFileName() {
+ return "../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g";
+ }
+
+
+
+ private UMLConnectionPointReferenceGrammarAccess grammarAccess;
+
+ public InternalUMLConnectionPointReferenceParser(TokenStream input, UMLConnectionPointReferenceGrammarAccess grammarAccess) {
+ this(input);
+ this.grammarAccess = grammarAccess;
+ registerRules(grammarAccess.getGrammar());
+ }
+
+ @Override
+ protected String getFirstRuleName() {
+ return "ConnectionPointReferenceRule";
+ }
+
+ @Override
+ protected UMLConnectionPointReferenceGrammarAccess getGrammarAccess() {
+ return grammarAccess;
+ }
+
+
+
+ // $ANTLR start "entryRuleConnectionPointReferenceRule"
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:67:1: entryRuleConnectionPointReferenceRule returns
+ // [EObject current=null] : iv_ruleConnectionPointReferenceRule= ruleConnectionPointReferenceRule EOF ;
+ public final EObject entryRuleConnectionPointReferenceRule() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleConnectionPointReferenceRule = null;
+
+
+ try {
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:68:2: (iv_ruleConnectionPointReferenceRule=
+ // ruleConnectionPointReferenceRule EOF )
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:69:2: iv_ruleConnectionPointReferenceRule=
+ // ruleConnectionPointReferenceRule EOF
+ {
+ newCompositeNode(grammarAccess.getConnectionPointReferenceRuleRule());
+ pushFollow(FOLLOW_ruleConnectionPointReferenceRule_in_entryRuleConnectionPointReferenceRule75);
+ iv_ruleConnectionPointReferenceRule = ruleConnectionPointReferenceRule();
+
+ state._fsp--;
+
+ current = iv_ruleConnectionPointReferenceRule;
+ match(input, EOF, FOLLOW_EOF_in_entryRuleConnectionPointReferenceRule85);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+
+ // $ANTLR end "entryRuleConnectionPointReferenceRule"
+
+
+ // $ANTLR start "ruleConnectionPointReferenceRule"
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:76:1: ruleConnectionPointReferenceRule returns
+ // [EObject current=null] : ( (otherlv_0= 'entry' ( (otherlv_1= RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* ) | (otherlv_4= 'exit' ( (otherlv_5= RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* ) )? ;
+ public final EObject ruleConnectionPointReferenceRule() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_0 = null;
+ Token otherlv_1 = null;
+ Token otherlv_2 = null;
+ Token otherlv_3 = null;
+ Token otherlv_4 = null;
+ Token otherlv_5 = null;
+ Token otherlv_6 = null;
+ Token otherlv_7 = null;
+
+ enterRule();
+
+ try {
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:79:28: ( ( (otherlv_0= 'entry' ( (otherlv_1=
+ // RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* ) | (otherlv_4= 'exit' ( (otherlv_5= RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* ) )? )
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:80:1: ( (otherlv_0= 'entry' ( (otherlv_1=
+ // RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* ) | (otherlv_4= 'exit' ( (otherlv_5= RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* ) )?
+ {
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:80:1: ( (otherlv_0= 'entry' ( (otherlv_1=
+ // RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* ) | (otherlv_4= 'exit' ( (otherlv_5= RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* ) )?
+ int alt3 = 3;
+ int LA3_0 = input.LA(1);
+
+ if ((LA3_0 == 12)) {
+ alt3 = 1;
+ }
+ else if ((LA3_0 == 14)) {
+ alt3 = 2;
+ }
+ switch (alt3) {
+ case 1:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:80:2: (otherlv_0= 'entry' ( (otherlv_1=
+ // RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* )
+ {
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:80:2: (otherlv_0= 'entry' (
+ // (otherlv_1= RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* )
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:80:4: otherlv_0= 'entry' ( (otherlv_1=
+ // RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )*
+ {
+ otherlv_0 = (Token) match(input, 12, FOLLOW_12_in_ruleConnectionPointReferenceRule123);
+
+ newLeafNode(otherlv_0, grammarAccess.getConnectionPointReferenceRuleAccess().getEntryKeyword_0_0());
+
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:84:1: ( (otherlv_1= RULE_ID ) )
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:85:1: (otherlv_1= RULE_ID )
+ {
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:85:1: (otherlv_1= RULE_ID )
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:86:3: otherlv_1= RULE_ID
+ {
+
+ if (current == null) {
+ current = createModelElement(grammarAccess.getConnectionPointReferenceRuleRule());
+ }
+
+ otherlv_1 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule143);
+
+ newLeafNode(otherlv_1, grammarAccess.getConnectionPointReferenceRuleAccess().getEntryPseudostateCrossReference_0_1_0());
+
+
+ }
+
+
+ }
+
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:97:2: (otherlv_2= ',' (
+ // (otherlv_3= RULE_ID ) ) )*
+ loop1: do {
+ int alt1 = 2;
+ int LA1_0 = input.LA(1);
+
+ if ((LA1_0 == 13)) {
+ alt1 = 1;
+ }
+
+
+ switch (alt1) {
+ case 1:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:97:4: otherlv_2= ',' (
+ // (otherlv_3= RULE_ID ) )
+ {
+ otherlv_2 = (Token) match(input, 13, FOLLOW_13_in_ruleConnectionPointReferenceRule156);
+
+ newLeafNode(otherlv_2, grammarAccess.getConnectionPointReferenceRuleAccess().getCommaKeyword_0_2_0());
+
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:101:1: ( (otherlv_3=
+ // RULE_ID ) )
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:102:1: (otherlv_3= RULE_ID
+ // )
+ {
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:102:1: (otherlv_3=
+ // RULE_ID )
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:103:3: otherlv_3=
+ // RULE_ID
+ {
+
+ if (current == null) {
+ current = createModelElement(grammarAccess.getConnectionPointReferenceRuleRule());
+ }
+
+ otherlv_3 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule176);
+
+ newLeafNode(otherlv_3, grammarAccess.getConnectionPointReferenceRuleAccess().getEntryPseudostateCrossReference_0_2_1_0());
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default:
+ break loop1;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+ break;
+ case 2:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:115:6: (otherlv_4= 'exit' ( (otherlv_5=
+ // RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* )
+ {
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:115:6: (otherlv_4= 'exit' (
+ // (otherlv_5= RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* )
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:115:8: otherlv_4= 'exit' ( (otherlv_5=
+ // RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )*
+ {
+ otherlv_4 = (Token) match(input, 14, FOLLOW_14_in_ruleConnectionPointReferenceRule198);
+
+ newLeafNode(otherlv_4, grammarAccess.getConnectionPointReferenceRuleAccess().getExitKeyword_1_0());
+
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:119:1: ( (otherlv_5= RULE_ID ) )
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:120:1: (otherlv_5= RULE_ID )
+ {
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:120:1: (otherlv_5= RULE_ID )
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:121:3: otherlv_5= RULE_ID
+ {
+
+ if (current == null) {
+ current = createModelElement(grammarAccess.getConnectionPointReferenceRuleRule());
+ }
+
+ otherlv_5 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule218);
+
+ newLeafNode(otherlv_5, grammarAccess.getConnectionPointReferenceRuleAccess().getExitPseudostateCrossReference_1_1_0());
+
+
+ }
+
+
+ }
+
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:132:2: (otherlv_6= ',' (
+ // (otherlv_7= RULE_ID ) ) )*
+ loop2: do {
+ int alt2 = 2;
+ int LA2_0 = input.LA(1);
+
+ if ((LA2_0 == 13)) {
+ alt2 = 1;
+ }
+
+
+ switch (alt2) {
+ case 1:
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:132:4: otherlv_6= ',' (
+ // (otherlv_7= RULE_ID ) )
+ {
+ otherlv_6 = (Token) match(input, 13, FOLLOW_13_in_ruleConnectionPointReferenceRule231);
+
+ newLeafNode(otherlv_6, grammarAccess.getConnectionPointReferenceRuleAccess().getCommaKeyword_1_2_0());
+
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:136:1: ( (otherlv_7=
+ // RULE_ID ) )
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:137:1: (otherlv_7= RULE_ID
+ // )
+ {
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:137:1: (otherlv_7=
+ // RULE_ID )
+ // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:138:3: otherlv_7=
+ // RULE_ID
+ {
+
+ if (current == null) {
+ current = createModelElement(grammarAccess.getConnectionPointReferenceRuleRule());
+ }
+
+ otherlv_7 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule251);
+
+ newLeafNode(otherlv_7, grammarAccess.getConnectionPointReferenceRuleAccess().getExitPseudostateCrossReference_1_2_1_0());
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default:
+ break loop2;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input, re);
+ appendSkippedTokens();
+ } finally {
+ }
+ return current;
+ }
+
+ // $ANTLR end "ruleConnectionPointReferenceRule"
+
+ // Delegated rules
+
+
+
+
+ public static final BitSet FOLLOW_ruleConnectionPointReferenceRule_in_entryRuleConnectionPointReferenceRule75 = new BitSet(new long[] { 0x0000000000000000L });
+ public static final BitSet FOLLOW_EOF_in_entryRuleConnectionPointReferenceRule85 = new BitSet(new long[] { 0x0000000000000002L });
+ public static final BitSet FOLLOW_12_in_ruleConnectionPointReferenceRule123 = new BitSet(new long[] { 0x0000000000000010L });
+ public static final BitSet FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule143 = new BitSet(new long[] { 0x0000000000002002L });
+ public static final BitSet FOLLOW_13_in_ruleConnectionPointReferenceRule156 = new BitSet(new long[] { 0x0000000000000010L });
+ public static final BitSet FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule176 = new BitSet(new long[] { 0x0000000000002002L });
+ public static final BitSet FOLLOW_14_in_ruleConnectionPointReferenceRule198 = new BitSet(new long[] { 0x0000000000000010L });
+ public static final BitSet FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule218 = new BitSet(new long[] { 0x0000000000002002L });
+ public static final BitSet FOLLOW_13_in_ruleConnectionPointReferenceRule231 = new BitSet(new long[] { 0x0000000000000010L });
+ public static final BitSet FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule251 = new BitSet(new long[] { 0x0000000000002002L });
+
} \ No newline at end of file
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/ConnectionPointReferenceRule.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/ConnectionPointReferenceRule.java
index b9f286c7570..241d7f32915 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/ConnectionPointReferenceRule.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/ConnectionPointReferenceRule.java
@@ -1,60 +1,60 @@
-/**
- */
-package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.uml2.uml.Pseudostate;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Connection Point Reference Rule</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule#getEntry <em>Entry</em>}</li>
- * <li>{@link org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule#getExit <em>Exit</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage#getConnectionPointReferenceRule()
- * @model
- * @generated
- */
-public interface ConnectionPointReferenceRule extends EObject
-{
- /**
- * Returns the value of the '<em><b>Entry</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.uml2.uml.Pseudostate}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Entry</em>' reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Entry</em>' reference list.
- * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage#getConnectionPointReferenceRule_Entry()
- * @model
- * @generated
- */
- EList<Pseudostate> getEntry();
-
- /**
- * Returns the value of the '<em><b>Exit</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.uml2.uml.Pseudostate}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Exit</em>' reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Exit</em>' reference list.
- * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage#getConnectionPointReferenceRule_Exit()
- * @model
- * @generated
- */
- EList<Pseudostate> getExit();
-
-} // ConnectionPointReferenceRule
+/**
+ */
+package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.uml2.uml.Pseudostate;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Connection Point Reference Rule</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule#getEntry <em>Entry</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule#getExit <em>Exit</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage#getConnectionPointReferenceRule()
+ * @model
+ * @generated
+ */
+public interface ConnectionPointReferenceRule extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>Entry</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.uml2.uml.Pseudostate}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Entry</em>' reference list isn't clear, there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Entry</em>' reference list.
+ * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage#getConnectionPointReferenceRule_Entry()
+ * @model
+ * @generated
+ */
+ EList<Pseudostate> getEntry();
+
+ /**
+ * Returns the value of the '<em><b>Exit</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.uml2.uml.Pseudostate}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Exit</em>' reference list isn't clear, there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Exit</em>' reference list.
+ * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage#getConnectionPointReferenceRule_Exit()
+ * @model
+ * @generated
+ */
+ EList<Pseudostate> getExit();
+
+} // ConnectionPointReferenceRule
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/UMLConnectionPointReferenceFactory.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/UMLConnectionPointReferenceFactory.java
index d9ca7c472d8..ac11f55f41b 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/UMLConnectionPointReferenceFactory.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/UMLConnectionPointReferenceFactory.java
@@ -1,47 +1,47 @@
-/**
- */
-package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage
- * @generated
- */
-public interface UMLConnectionPointReferenceFactory extends EFactory
-{
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- UMLConnectionPointReferenceFactory eINSTANCE = org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.UMLConnectionPointReferenceFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Connection Point Reference Rule</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Connection Point Reference Rule</em>'.
- * @generated
- */
- ConnectionPointReferenceRule createConnectionPointReferenceRule();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the package supported by this factory.
- * @generated
- */
- UMLConnectionPointReferencePackage getUMLConnectionPointReferencePackage();
-
-} // UMLConnectionPointReferenceFactory
+/**
+ */
+package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference;
+
+import org.eclipse.emf.ecore.EFactory;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Factory</b> for the model.
+ * It provides a create method for each non-abstract class of the model.
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage
+ * @generated
+ */
+public interface UMLConnectionPointReferenceFactory extends EFactory
+{
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ UMLConnectionPointReferenceFactory eINSTANCE = org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.UMLConnectionPointReferenceFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>Connection Point Reference Rule</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Connection Point Reference Rule</em>'.
+ * @generated
+ */
+ ConnectionPointReferenceRule createConnectionPointReferenceRule();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the package supported by this factory.
+ * @generated
+ */
+ UMLConnectionPointReferencePackage getUMLConnectionPointReferencePackage();
+
+} // UMLConnectionPointReferenceFactory
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/UMLConnectionPointReferencePackage.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/UMLConnectionPointReferencePackage.java
index 03e6f9fb0a3..816f2c59760 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/UMLConnectionPointReferencePackage.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/UMLConnectionPointReferencePackage.java
@@ -1,196 +1,196 @@
-/**
- */
-package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferenceFactory
- * @model kind="package"
- * @generated
- */
-public interface UMLConnectionPointReferencePackage extends EPackage
-{
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- String eNAME = "uMLConnectionPointReference";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- String eNS_URI = "http://www.eclipse.org/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- String eNS_PREFIX = "uMLConnectionPointReference";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- UMLConnectionPointReferencePackage eINSTANCE = org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.UMLConnectionPointReferencePackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.ConnectionPointReferenceRuleImpl <em>Connection Point Reference Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.ConnectionPointReferenceRuleImpl
- * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.UMLConnectionPointReferencePackageImpl#getConnectionPointReferenceRule()
- * @generated
- */
- int CONNECTION_POINT_REFERENCE_RULE = 0;
-
- /**
- * The feature id for the '<em><b>Entry</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int CONNECTION_POINT_REFERENCE_RULE__ENTRY = 0;
-
- /**
- * The feature id for the '<em><b>Exit</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int CONNECTION_POINT_REFERENCE_RULE__EXIT = 1;
-
- /**
- * The number of structural features of the '<em>Connection Point Reference Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int CONNECTION_POINT_REFERENCE_RULE_FEATURE_COUNT = 2;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule <em>Connection Point Reference Rule</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Connection Point Reference Rule</em>'.
- * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule
- * @generated
- */
- EClass getConnectionPointReferenceRule();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule#getEntry <em>Entry</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference list '<em>Entry</em>'.
- * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule#getEntry()
- * @see #getConnectionPointReferenceRule()
- * @generated
- */
- EReference getConnectionPointReferenceRule_Entry();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule#getExit <em>Exit</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference list '<em>Exit</em>'.
- * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule#getExit()
- * @see #getConnectionPointReferenceRule()
- * @generated
- */
- EReference getConnectionPointReferenceRule_Exit();
-
- /**
- * 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
- */
- UMLConnectionPointReferenceFactory getUMLConnectionPointReferenceFactory();
-
- /**
- * <!-- begin-user-doc -->
- * Defines literals for the meta objects that represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- *
- * @generated
- */
- interface Literals
- {
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.ConnectionPointReferenceRuleImpl <em>Connection Point Reference Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.ConnectionPointReferenceRuleImpl
- * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.UMLConnectionPointReferencePackageImpl#getConnectionPointReferenceRule()
- * @generated
- */
- EClass CONNECTION_POINT_REFERENCE_RULE = eINSTANCE.getConnectionPointReferenceRule();
-
- /**
- * The meta object literal for the '<em><b>Entry</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference CONNECTION_POINT_REFERENCE_RULE__ENTRY = eINSTANCE.getConnectionPointReferenceRule_Entry();
-
- /**
- * The meta object literal for the '<em><b>Exit</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference CONNECTION_POINT_REFERENCE_RULE__EXIT = eINSTANCE.getConnectionPointReferenceRule_Exit();
-
- }
-
-} // UMLConnectionPointReferencePackage
+/**
+ */
+package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Package</b> for the model.
+ * It contains accessors for the meta objects to represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferenceFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface UMLConnectionPointReferencePackage extends EPackage
+{
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ String eNAME = "uMLConnectionPointReference";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ String eNS_URI = "http://www.eclipse.org/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ String eNS_PREFIX = "uMLConnectionPointReference";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ UMLConnectionPointReferencePackage eINSTANCE = org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.UMLConnectionPointReferencePackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.ConnectionPointReferenceRuleImpl <em>Connection Point Reference Rule</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.ConnectionPointReferenceRuleImpl
+ * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.UMLConnectionPointReferencePackageImpl#getConnectionPointReferenceRule()
+ * @generated
+ */
+ int CONNECTION_POINT_REFERENCE_RULE = 0;
+
+ /**
+ * The feature id for the '<em><b>Entry</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int CONNECTION_POINT_REFERENCE_RULE__ENTRY = 0;
+
+ /**
+ * The feature id for the '<em><b>Exit</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int CONNECTION_POINT_REFERENCE_RULE__EXIT = 1;
+
+ /**
+ * The number of structural features of the '<em>Connection Point Reference Rule</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int CONNECTION_POINT_REFERENCE_RULE_FEATURE_COUNT = 2;
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule <em>Connection Point Reference Rule</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Connection Point Reference Rule</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule
+ * @generated
+ */
+ EClass getConnectionPointReferenceRule();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule#getEntry <em>Entry</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the reference list '<em>Entry</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule#getEntry()
+ * @see #getConnectionPointReferenceRule()
+ * @generated
+ */
+ EReference getConnectionPointReferenceRule_Entry();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule#getExit <em>Exit</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the reference list '<em>Exit</em>'.
+ * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule#getExit()
+ * @see #getConnectionPointReferenceRule()
+ * @generated
+ */
+ EReference getConnectionPointReferenceRule_Exit();
+
+ /**
+ * 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
+ */
+ UMLConnectionPointReferenceFactory getUMLConnectionPointReferenceFactory();
+
+ /**
+ * <!-- begin-user-doc -->
+ * Defines literals for the meta objects that represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ interface Literals
+ {
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.ConnectionPointReferenceRuleImpl <em>Connection Point Reference Rule</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.ConnectionPointReferenceRuleImpl
+ * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.UMLConnectionPointReferencePackageImpl#getConnectionPointReferenceRule()
+ * @generated
+ */
+ EClass CONNECTION_POINT_REFERENCE_RULE = eINSTANCE.getConnectionPointReferenceRule();
+
+ /**
+ * The meta object literal for the '<em><b>Entry</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EReference CONNECTION_POINT_REFERENCE_RULE__ENTRY = eINSTANCE.getConnectionPointReferenceRule_Entry();
+
+ /**
+ * The meta object literal for the '<em><b>Exit</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EReference CONNECTION_POINT_REFERENCE_RULE__EXIT = eINSTANCE.getConnectionPointReferenceRule_Exit();
+
+ }
+
+} // UMLConnectionPointReferencePackage
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/ConnectionPointReferenceRuleImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/ConnectionPointReferenceRuleImpl.java
index 15595c9d4d6..0a37e14c18d 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/ConnectionPointReferenceRuleImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/ConnectionPointReferenceRuleImpl.java
@@ -1,191 +1,191 @@
-/**
- */
-package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectResolvingEList;
-import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule;
-import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage;
-import org.eclipse.uml2.uml.Pseudostate;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Connection Point Reference Rule</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.ConnectionPointReferenceRuleImpl#getEntry <em>Entry</em>}</li>
- * <li>{@link org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.ConnectionPointReferenceRuleImpl#getExit <em>Exit</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ConnectionPointReferenceRuleImpl extends MinimalEObjectImpl.Container implements ConnectionPointReferenceRule
-{
- /**
- * The cached value of the '{@link #getEntry() <em>Entry</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getEntry()
- * @generated
- * @ordered
- */
- protected EList<Pseudostate> entry;
-
- /**
- * The cached value of the '{@link #getExit() <em>Exit</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getExit()
- * @generated
- * @ordered
- */
- protected EList<Pseudostate> exit;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected ConnectionPointReferenceRuleImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return UMLConnectionPointReferencePackage.Literals.CONNECTION_POINT_REFERENCE_RULE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<Pseudostate> getEntry()
- {
- if (entry == null)
- {
- entry = new EObjectResolvingEList<Pseudostate>(Pseudostate.class, this, UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE__ENTRY);
- }
- return entry;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<Pseudostate> getExit()
- {
- if (exit == null)
- {
- exit = new EObjectResolvingEList<Pseudostate>(Pseudostate.class, this, UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE__EXIT);
- }
- return exit;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE__ENTRY:
- return getEntry();
- case UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE__EXIT:
- return getExit();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE__ENTRY:
- getEntry().clear();
- getEntry().addAll((Collection<? extends Pseudostate>) newValue);
- return;
- case UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE__EXIT:
- getExit().clear();
- getExit().addAll((Collection<? extends Pseudostate>) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE__ENTRY:
- getEntry().clear();
- return;
- case UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE__EXIT:
- getExit().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE__ENTRY:
- return entry != null && !entry.isEmpty();
- case UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE__EXIT:
- return exit != null && !exit.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} // ConnectionPointReferenceRuleImpl
+/**
+ */
+package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
+import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule;
+import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage;
+import org.eclipse.uml2.uml.Pseudostate;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Connection Point Reference Rule</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.ConnectionPointReferenceRuleImpl#getEntry <em>Entry</em>}</li>
+ * <li>{@link org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.ConnectionPointReferenceRuleImpl#getExit <em>Exit</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ConnectionPointReferenceRuleImpl extends MinimalEObjectImpl.Container implements ConnectionPointReferenceRule
+{
+ /**
+ * The cached value of the '{@link #getEntry() <em>Entry</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getEntry()
+ * @generated
+ * @ordered
+ */
+ protected EList<Pseudostate> entry;
+
+ /**
+ * The cached value of the '{@link #getExit() <em>Exit</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getExit()
+ * @generated
+ * @ordered
+ */
+ protected EList<Pseudostate> exit;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected ConnectionPointReferenceRuleImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return UMLConnectionPointReferencePackage.Literals.CONNECTION_POINT_REFERENCE_RULE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public EList<Pseudostate> getEntry()
+ {
+ if (entry == null)
+ {
+ entry = new EObjectResolvingEList<Pseudostate>(Pseudostate.class, this, UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE__ENTRY);
+ }
+ return entry;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public EList<Pseudostate> getExit()
+ {
+ if (exit == null)
+ {
+ exit = new EObjectResolvingEList<Pseudostate>(Pseudostate.class, this, UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE__EXIT);
+ }
+ return exit;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE__ENTRY:
+ return getEntry();
+ case UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE__EXIT:
+ return getExit();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE__ENTRY:
+ getEntry().clear();
+ getEntry().addAll((Collection<? extends Pseudostate>) newValue);
+ return;
+ case UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE__EXIT:
+ getExit().clear();
+ getExit().addAll((Collection<? extends Pseudostate>) newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE__ENTRY:
+ getEntry().clear();
+ return;
+ case UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE__EXIT:
+ getExit().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE__ENTRY:
+ return entry != null && !entry.isEmpty();
+ case UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE__EXIT:
+ return exit != null && !exit.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} // ConnectionPointReferenceRuleImpl
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/UMLConnectionPointReferenceFactoryImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/UMLConnectionPointReferenceFactoryImpl.java
index ec8fb328d3a..6686d6b5b40 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/UMLConnectionPointReferenceFactoryImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/UMLConnectionPointReferenceFactoryImpl.java
@@ -1,114 +1,114 @@
-/**
- */
-package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-import org.eclipse.emf.ecore.plugin.EcorePlugin;
-import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule;
-import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferenceFactory;
-import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- *
- * @generated
- */
-public class UMLConnectionPointReferenceFactoryImpl extends EFactoryImpl implements UMLConnectionPointReferenceFactory
-{
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static UMLConnectionPointReferenceFactory init()
- {
- try
- {
- UMLConnectionPointReferenceFactory theUMLConnectionPointReferenceFactory = (UMLConnectionPointReferenceFactory) EPackage.Registry.INSTANCE.getEFactory(UMLConnectionPointReferencePackage.eNS_URI);
- if (theUMLConnectionPointReferenceFactory != null)
- {
- return theUMLConnectionPointReferenceFactory;
- }
- } catch (Exception exception)
- {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new UMLConnectionPointReferenceFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public UMLConnectionPointReferenceFactoryImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EObject create(EClass eClass)
- {
- switch (eClass.getClassifierID())
- {
- case UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE:
- return createConnectionPointReferenceRule();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public ConnectionPointReferenceRule createConnectionPointReferenceRule()
- {
- ConnectionPointReferenceRuleImpl connectionPointReferenceRule = new ConnectionPointReferenceRuleImpl();
- return connectionPointReferenceRule;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public UMLConnectionPointReferencePackage getUMLConnectionPointReferencePackage()
- {
- return (UMLConnectionPointReferencePackage) getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @deprecated
- * @generated
- */
- @Deprecated
- public static UMLConnectionPointReferencePackage getPackage()
- {
- return UMLConnectionPointReferencePackage.eINSTANCE;
- }
-
-} // UMLConnectionPointReferenceFactoryImpl
+/**
+ */
+package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+import org.eclipse.emf.ecore.plugin.EcorePlugin;
+import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule;
+import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferenceFactory;
+import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+public class UMLConnectionPointReferenceFactoryImpl extends EFactoryImpl implements UMLConnectionPointReferenceFactory
+{
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public static UMLConnectionPointReferenceFactory init()
+ {
+ try
+ {
+ UMLConnectionPointReferenceFactory theUMLConnectionPointReferenceFactory = (UMLConnectionPointReferenceFactory) EPackage.Registry.INSTANCE.getEFactory(UMLConnectionPointReferencePackage.eNS_URI);
+ if (theUMLConnectionPointReferenceFactory != null)
+ {
+ return theUMLConnectionPointReferenceFactory;
+ }
+ } catch (Exception exception)
+ {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new UMLConnectionPointReferenceFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public UMLConnectionPointReferenceFactoryImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass)
+ {
+ switch (eClass.getClassifierID())
+ {
+ case UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE:
+ return createConnectionPointReferenceRule();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public ConnectionPointReferenceRule createConnectionPointReferenceRule()
+ {
+ ConnectionPointReferenceRuleImpl connectionPointReferenceRule = new ConnectionPointReferenceRuleImpl();
+ return connectionPointReferenceRule;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public UMLConnectionPointReferencePackage getUMLConnectionPointReferencePackage()
+ {
+ return (UMLConnectionPointReferencePackage) getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static UMLConnectionPointReferencePackage getPackage()
+ {
+ return UMLConnectionPointReferencePackage.eINSTANCE;
+ }
+
+} // UMLConnectionPointReferenceFactoryImpl
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/UMLConnectionPointReferencePackageImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/UMLConnectionPointReferencePackageImpl.java
index 72593135e3d..7acf4d977cc 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/UMLConnectionPointReferencePackageImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/UMLConnectionPointReferencePackageImpl.java
@@ -1,222 +1,222 @@
-/**
- */
-package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule;
-import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferenceFactory;
-import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage;
-import org.eclipse.uml2.uml.UMLPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- *
- * @generated
- */
-public class UMLConnectionPointReferencePackageImpl extends EPackageImpl implements UMLConnectionPointReferencePackage
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass connectionPointReferenceRuleEClass = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- * <p>
- * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage#eNS_URI
- * @see #init()
- * @generated
- */
- private UMLConnectionPointReferencePackageImpl()
- {
- super(eNS_URI, UMLConnectionPointReferenceFactory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
- * <p>
- * This method is used to initialize {@link UMLConnectionPointReferencePackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static UMLConnectionPointReferencePackage init()
- {
- if (isInited) {
- return (UMLConnectionPointReferencePackage) EPackage.Registry.INSTANCE.getEPackage(UMLConnectionPointReferencePackage.eNS_URI);
- }
-
- // Obtain or create and register package
- UMLConnectionPointReferencePackageImpl theUMLConnectionPointReferencePackage = (UMLConnectionPointReferencePackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof UMLConnectionPointReferencePackageImpl ? EPackage.Registry.INSTANCE
- .get(eNS_URI) : new UMLConnectionPointReferencePackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- UMLPackage.eINSTANCE.eClass();
-
- // Create package meta-data objects
- theUMLConnectionPointReferencePackage.createPackageContents();
-
- // Initialize created meta-data
- theUMLConnectionPointReferencePackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theUMLConnectionPointReferencePackage.freeze();
-
-
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(UMLConnectionPointReferencePackage.eNS_URI, theUMLConnectionPointReferencePackage);
- return theUMLConnectionPointReferencePackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EClass getConnectionPointReferenceRule()
- {
- return connectionPointReferenceRuleEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getConnectionPointReferenceRule_Entry()
- {
- return (EReference) connectionPointReferenceRuleEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EReference getConnectionPointReferenceRule_Exit()
- {
- return (EReference) connectionPointReferenceRuleEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public UMLConnectionPointReferenceFactory getUMLConnectionPointReferenceFactory()
- {
- return (UMLConnectionPointReferenceFactory) getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void createPackageContents()
- {
- if (isCreated) {
- return;
- }
- isCreated = true;
-
- // Create classes and their features
- connectionPointReferenceRuleEClass = createEClass(CONNECTION_POINT_REFERENCE_RULE);
- createEReference(connectionPointReferenceRuleEClass, CONNECTION_POINT_REFERENCE_RULE__ENTRY);
- createEReference(connectionPointReferenceRuleEClass, CONNECTION_POINT_REFERENCE_RULE__EXIT);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void initializePackageContents()
- {
- if (isInitialized) {
- return;
- }
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Obtain other dependent packages
- UMLPackage theUMLPackage = (UMLPackage) EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
-
- // Initialize classes and features; add operations and parameters
- initEClass(connectionPointReferenceRuleEClass, ConnectionPointReferenceRule.class, "ConnectionPointReferenceRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getConnectionPointReferenceRule_Entry(), theUMLPackage.getPseudostate(), null, "entry", null, 0, -1, ConnectionPointReferenceRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getConnectionPointReferenceRule_Exit(), theUMLPackage.getPseudostate(), null, "exit", null, 0, -1, ConnectionPointReferenceRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- // Create resource
- createResource(eNS_URI);
- }
-
-} // UMLConnectionPointReferencePackageImpl
+/**
+ */
+package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule;
+import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferenceFactory;
+import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage;
+import org.eclipse.uml2.uml.UMLPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+public class UMLConnectionPointReferencePackageImpl extends EPackageImpl implements UMLConnectionPointReferencePackage
+{
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass connectionPointReferenceRuleEClass = null;
+
+ /**
+ * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * package URI value.
+ * <p>
+ * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.ecore.EPackage.Registry
+ * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private UMLConnectionPointReferencePackageImpl()
+ {
+ super(eNS_URI, UMLConnectionPointReferenceFactory.eINSTANCE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private static boolean isInited = false;
+
+ /**
+ * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
+ *
+ * <p>
+ * This method is used to initialize {@link UMLConnectionPointReferencePackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static UMLConnectionPointReferencePackage init()
+ {
+ if (isInited) {
+ return (UMLConnectionPointReferencePackage) EPackage.Registry.INSTANCE.getEPackage(UMLConnectionPointReferencePackage.eNS_URI);
+ }
+
+ // Obtain or create and register package
+ UMLConnectionPointReferencePackageImpl theUMLConnectionPointReferencePackage = (UMLConnectionPointReferencePackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof UMLConnectionPointReferencePackageImpl ? EPackage.Registry.INSTANCE
+ .get(eNS_URI) : new UMLConnectionPointReferencePackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ UMLPackage.eINSTANCE.eClass();
+
+ // Create package meta-data objects
+ theUMLConnectionPointReferencePackage.createPackageContents();
+
+ // Initialize created meta-data
+ theUMLConnectionPointReferencePackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theUMLConnectionPointReferencePackage.freeze();
+
+
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(UMLConnectionPointReferencePackage.eNS_URI, theUMLConnectionPointReferencePackage);
+ return theUMLConnectionPointReferencePackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public EClass getConnectionPointReferenceRule()
+ {
+ return connectionPointReferenceRuleEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public EReference getConnectionPointReferenceRule_Entry()
+ {
+ return (EReference) connectionPointReferenceRuleEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public EReference getConnectionPointReferenceRule_Exit()
+ {
+ return (EReference) connectionPointReferenceRuleEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public UMLConnectionPointReferenceFactory getUMLConnectionPointReferenceFactory()
+ {
+ return (UMLConnectionPointReferenceFactory) getEFactoryInstance();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private boolean isCreated = false;
+
+ /**
+ * Creates the meta-model objects for the package. This method is
+ * guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void createPackageContents()
+ {
+ if (isCreated) {
+ return;
+ }
+ isCreated = true;
+
+ // Create classes and their features
+ connectionPointReferenceRuleEClass = createEClass(CONNECTION_POINT_REFERENCE_RULE);
+ createEReference(connectionPointReferenceRuleEClass, CONNECTION_POINT_REFERENCE_RULE__ENTRY);
+ createEReference(connectionPointReferenceRuleEClass, CONNECTION_POINT_REFERENCE_RULE__EXIT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private boolean isInitialized = false;
+
+ /**
+ * Complete the initialization of the package and its meta-model. This
+ * method is guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void initializePackageContents()
+ {
+ if (isInitialized) {
+ return;
+ }
+ isInitialized = true;
+
+ // Initialize package
+ setName(eNAME);
+ setNsPrefix(eNS_PREFIX);
+ setNsURI(eNS_URI);
+
+ // Obtain other dependent packages
+ UMLPackage theUMLPackage = (UMLPackage) EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(connectionPointReferenceRuleEClass, ConnectionPointReferenceRule.class, "ConnectionPointReferenceRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getConnectionPointReferenceRule_Entry(), theUMLPackage.getPseudostate(), null, "entry", null, 0, -1, ConnectionPointReferenceRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getConnectionPointReferenceRule_Exit(), theUMLPackage.getPseudostate(), null, "exit", null, 0, -1, ConnectionPointReferenceRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ // Create resource
+ createResource(eNS_URI);
+ }
+
+} // UMLConnectionPointReferencePackageImpl
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceAdapterFactory.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceAdapterFactory.java
index 63654a35041..4e54ae57424 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceAdapterFactory.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceAdapterFactory.java
@@ -1,140 +1,140 @@
-/**
- */
-package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.util;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule;
-import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Adapter Factory</b> for the model.
- * It provides an adapter <code>createXXX</code> method for each class of the model.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage
- * @generated
- */
-public class UMLConnectionPointReferenceAdapterFactory extends AdapterFactoryImpl
-{
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected static UMLConnectionPointReferencePackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public UMLConnectionPointReferenceAdapterFactory()
- {
- if (modelPackage == null)
- {
- modelPackage = UMLConnectionPointReferencePackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc -->
- * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
- * <!-- end-user-doc -->
- *
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- @Override
- public boolean isFactoryForType(Object object)
- {
- if (object == modelPackage)
- {
- return true;
- }
- if (object instanceof EObject)
- {
- return ((EObject) object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch that delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected UMLConnectionPointReferenceSwitch<Adapter> modelSwitch =
- new UMLConnectionPointReferenceSwitch<Adapter>()
- {
- @Override
- public Adapter caseConnectionPointReferenceRule(ConnectionPointReferenceRule object)
- {
- return createConnectionPointReferenceRuleAdapter();
- }
-
- @Override
- public Adapter defaultCase(EObject object)
- {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the <code>target</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param target
- * the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @generated
- */
- @Override
- public Adapter createAdapter(Notifier target)
- {
- return modelSwitch.doSwitch((EObject) target);
- }
-
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule <em>Connection Point Reference Rule</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule
- * @generated
- */
- public Adapter createConnectionPointReferenceRuleAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
- * This default implementation returns null.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter()
- {
- return null;
- }
-
-} // UMLConnectionPointReferenceAdapterFactory
+/**
+ */
+package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.util;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule;
+import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Adapter Factory</b> for the model.
+ * It provides an adapter <code>createXXX</code> method for each class of the model.
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage
+ * @generated
+ */
+public class UMLConnectionPointReferenceAdapterFactory extends AdapterFactoryImpl
+{
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected static UMLConnectionPointReferencePackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public UMLConnectionPointReferenceAdapterFactory()
+ {
+ if (modelPackage == null)
+ {
+ modelPackage = UMLConnectionPointReferencePackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ * <!-- begin-user-doc -->
+ * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
+ * <!-- end-user-doc -->
+ *
+ * @return whether this factory is applicable for the type of the object.
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object object)
+ {
+ if (object == modelPackage)
+ {
+ return true;
+ }
+ if (object instanceof EObject)
+ {
+ return ((EObject) object).eClass().getEPackage() == modelPackage;
+ }
+ return false;
+ }
+
+ /**
+ * The switch that delegates to the <code>createXXX</code> methods.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected UMLConnectionPointReferenceSwitch<Adapter> modelSwitch =
+ new UMLConnectionPointReferenceSwitch<Adapter>()
+ {
+ @Override
+ public Adapter caseConnectionPointReferenceRule(ConnectionPointReferenceRule object)
+ {
+ return createConnectionPointReferenceRuleAdapter();
+ }
+
+ @Override
+ public Adapter defaultCase(EObject object)
+ {
+ return createEObjectAdapter();
+ }
+ };
+
+ /**
+ * Creates an adapter for the <code>target</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param target
+ * the object to adapt.
+ * @return the adapter for the <code>target</code>.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target)
+ {
+ return modelSwitch.doSwitch((EObject) target);
+ }
+
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule <em>Connection Point Reference Rule</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ *
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule
+ * @generated
+ */
+ public Adapter createConnectionPointReferenceRuleAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null.
+ * <!-- end-user-doc -->
+ *
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter()
+ {
+ return null;
+ }
+
+} // UMLConnectionPointReferenceAdapterFactory
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceResourceFactoryImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceResourceFactoryImpl.java
index 28bab41adfb..8c2b48d0f5c 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceResourceFactoryImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceResourceFactoryImpl.java
@@ -1,55 +1,55 @@
-/**
- */
-package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.util;
-
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
-import org.eclipse.emf.ecore.xmi.XMLResource;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource Factory</b> associated with the package.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.util.UMLConnectionPointReferenceResourceImpl
- * @generated
- */
-public class UMLConnectionPointReferenceResourceFactoryImpl extends ResourceFactoryImpl
-{
- /**
- * Creates an instance of the resource factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public UMLConnectionPointReferenceResourceFactoryImpl()
- {
- super();
- }
-
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Resource createResource(URI uri)
- {
- XMLResource result = new UMLConnectionPointReferenceResourceImpl(uri);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
- result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
-
- result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
-
- result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
-
- result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
- return result;
- }
-
-} // UMLConnectionPointReferenceResourceFactoryImpl
+/**
+ */
+package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.util;
+
+import org.eclipse.emf.common.util.URI;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
+import org.eclipse.emf.ecore.xmi.XMLResource;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Resource Factory</b> associated with the package.
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.util.UMLConnectionPointReferenceResourceImpl
+ * @generated
+ */
+public class UMLConnectionPointReferenceResourceFactoryImpl extends ResourceFactoryImpl
+{
+ /**
+ * Creates an instance of the resource factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public UMLConnectionPointReferenceResourceFactoryImpl()
+ {
+ super();
+ }
+
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public Resource createResource(URI uri)
+ {
+ XMLResource result = new UMLConnectionPointReferenceResourceImpl(uri);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
+ return result;
+ }
+
+} // UMLConnectionPointReferenceResourceFactoryImpl
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceResourceImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceResourceImpl.java
index 13dc0b3f625..8ec0a101115 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceResourceImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceResourceImpl.java
@@ -1,32 +1,32 @@
-/**
- */
-package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.util;
-
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource </b> associated with the package.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.util.UMLConnectionPointReferenceResourceFactoryImpl
- * @generated
- */
-public class UMLConnectionPointReferenceResourceImpl extends XMLResourceImpl
-{
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param uri
- * the URI of the new resource.
- * @generated
- */
- public UMLConnectionPointReferenceResourceImpl(URI uri)
- {
- super(uri);
- }
-
-} // UMLConnectionPointReferenceResourceImpl
+/**
+ */
+package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.util;
+
+import org.eclipse.emf.common.util.URI;
+import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Resource </b> associated with the package.
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.util.UMLConnectionPointReferenceResourceFactoryImpl
+ * @generated
+ */
+public class UMLConnectionPointReferenceResourceImpl extends XMLResourceImpl
+{
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @param uri
+ * the URI of the new resource.
+ * @generated
+ */
+ public UMLConnectionPointReferenceResourceImpl(URI uri)
+ {
+ super(uri);
+ }
+
+} // UMLConnectionPointReferenceResourceImpl
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceSwitch.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceSwitch.java
index cb6ae356b35..13a72639b0d 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceSwitch.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceSwitch.java
@@ -1,128 +1,128 @@
-/**
- */
-package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.util;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.util.Switch;
-import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule;
-import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
- * starting with the actual class of the object
- * and proceeding up the inheritance hierarchy
- * until a non-null result is returned,
- * which is the result of the switch.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage
- * @generated
- */
-public class UMLConnectionPointReferenceSwitch<T> extends Switch<T>
-{
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected static UMLConnectionPointReferencePackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public UMLConnectionPointReferenceSwitch()
- {
- if (modelPackage == null)
- {
- modelPackage = UMLConnectionPointReferencePackage.eINSTANCE;
- }
- }
-
- /**
- * Checks whether this is a switch for the given package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @parameter ePackage the package in question.
- * @return whether this is a switch for the given package.
- * @generated
- */
- @Override
- protected boolean isSwitchFor(EPackage ePackage)
- {
- return ePackage == modelPackage;
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- @Override
- protected T doSwitch(int classifierID, EObject theEObject)
- {
- switch (classifierID)
- {
- case UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE: {
- ConnectionPointReferenceRule connectionPointReferenceRule = (ConnectionPointReferenceRule) theEObject;
- T result = caseConnectionPointReferenceRule(connectionPointReferenceRule);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- default:
- return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Connection Point Reference Rule</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>Connection Point Reference Rule</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseConnectionPointReferenceRule(ConnectionPointReferenceRule object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- @Override
- public T defaultCase(EObject object)
- {
- return null;
- }
-
-} // UMLConnectionPointReferenceSwitch
+/**
+ */
+package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.util;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.util.Switch;
+import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule;
+import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Switch</b> for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
+ * starting with the actual class of the object
+ * and proceeding up the inheritance hierarchy
+ * until a non-null result is returned,
+ * which is the result of the switch.
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage
+ * @generated
+ */
+public class UMLConnectionPointReferenceSwitch<T> extends Switch<T>
+{
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected static UMLConnectionPointReferencePackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public UMLConnectionPointReferenceSwitch()
+ {
+ if (modelPackage == null)
+ {
+ modelPackage = UMLConnectionPointReferencePackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Checks whether this is a switch for the given package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @parameter ePackage the package in question.
+ * @return whether this is a switch for the given package.
+ * @generated
+ */
+ @Override
+ protected boolean isSwitchFor(EPackage ePackage)
+ {
+ return ePackage == modelPackage;
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ @Override
+ protected T doSwitch(int classifierID, EObject theEObject)
+ {
+ switch (classifierID)
+ {
+ case UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE: {
+ ConnectionPointReferenceRule connectionPointReferenceRule = (ConnectionPointReferenceRule) theEObject;
+ T result = caseConnectionPointReferenceRule(connectionPointReferenceRule);
+ if (result == null) {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ default:
+ return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Connection Point Reference Rule</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>Connection Point Reference Rule</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseConnectionPointReferenceRule(ConnectionPointReferenceRule object)
+ {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ * <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ @Override
+ public T defaultCase(EObject object)
+ {
+ return null;
+ }
+
+} // UMLConnectionPointReferenceSwitch
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceXMLProcessor.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceXMLProcessor.java
index 914c6b4b260..48f428ef535 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceXMLProcessor.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceXMLProcessor.java
@@ -1,54 +1,54 @@
-/**
- */
-package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.util;
-
-import java.util.Map;
-
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
-import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage;
-
-/**
- * This class contains helper methods to serialize and deserialize XML documents
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
-public class UMLConnectionPointReferenceXMLProcessor extends XMLProcessor
-{
-
- /**
- * Public constructor to instantiate the helper.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public UMLConnectionPointReferenceXMLProcessor()
- {
- super((EPackage.Registry.INSTANCE));
- UMLConnectionPointReferencePackage.eINSTANCE.eClass();
- }
-
- /**
- * Register for "*" and "xml" file extensions the UMLConnectionPointReferenceResourceFactoryImpl factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected Map<String, Resource.Factory> getRegistrations()
- {
- if (registrations == null)
- {
- super.getRegistrations();
- registrations.put(XML_EXTENSION, new UMLConnectionPointReferenceResourceFactoryImpl());
- registrations.put(STAR_EXTENSION, new UMLConnectionPointReferenceResourceFactoryImpl());
- }
- return registrations;
- }
-
-} // UMLConnectionPointReferenceXMLProcessor
+/**
+ */
+package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.util;
+
+import java.util.Map;
+
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
+import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage;
+
+/**
+ * This class contains helper methods to serialize and deserialize XML documents
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+public class UMLConnectionPointReferenceXMLProcessor extends XMLProcessor
+{
+
+ /**
+ * Public constructor to instantiate the helper.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public UMLConnectionPointReferenceXMLProcessor()
+ {
+ super((EPackage.Registry.INSTANCE));
+ UMLConnectionPointReferencePackage.eINSTANCE.eClass();
+ }
+
+ /**
+ * Register for "*" and "xml" file extensions the UMLConnectionPointReferenceResourceFactoryImpl factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected Map<String, Resource.Factory> getRegistrations()
+ {
+ if (registrations == null)
+ {
+ super.getRegistrations();
+ registrations.put(XML_EXTENSION, new UMLConnectionPointReferenceResourceFactoryImpl());
+ registrations.put(STAR_EXTENSION, new UMLConnectionPointReferenceResourceFactoryImpl());
+ }
+ return registrations;
+ }
+
+} // UMLConnectionPointReferenceXMLProcessor

Back to the top