commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gu...@apache.org
Subject svn commit: r945185 [33/42] - in /commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.diagram: ./ META-INF/ bin/ icons/ icons/obj16/ icons/wizban/ src/ src/org/ src/org/apache/ src/org/apache/commons/ src/org/apache/com...
Date Mon, 17 May 2010 14:38:59 GMT
Added: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.diagram/src/org/apache/commons/scxml/diagram/part/ScxmlDiagramUpdater.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.diagram/src/org/apache/commons/scxml/diagram/part/ScxmlDiagramUpdater.java?rev=945185&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.diagram/src/org/apache/commons/scxml/diagram/part/ScxmlDiagramUpdater.java (added)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.diagram/src/org/apache/commons/scxml/diagram/part/ScxmlDiagramUpdater.java Mon May 17 14:38:45 2010
@@ -0,0 +1,3360 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.scxml.diagram.part;
+
+import java.util.Collection;
+import java.util.Collections;
+import java.util.Iterator;
+import java.util.LinkedList;
+import java.util.List;
+import java.util.Map;
+
+import org.apache.commons.scxml.Anchor;
+import org.apache.commons.scxml.Content;
+import org.apache.commons.scxml.Data;
+import org.apache.commons.scxml.DataModel;
+import org.apache.commons.scxml.Donedata;
+import org.apache.commons.scxml.Else;
+import org.apache.commons.scxml.ElseIf;
+import org.apache.commons.scxml.ExecutableContent;
+import org.apache.commons.scxml.FinalState;
+import org.apache.commons.scxml.Finalize;
+import org.apache.commons.scxml.HistoryState;
+import org.apache.commons.scxml.If;
+import org.apache.commons.scxml.InitialState;
+import org.apache.commons.scxml.Invoke;
+import org.apache.commons.scxml.NamedElement;
+import org.apache.commons.scxml.OnEntry;
+import org.apache.commons.scxml.OnExit;
+import org.apache.commons.scxml.Parallel;
+import org.apache.commons.scxml.Param;
+import org.apache.commons.scxml.Script;
+import org.apache.commons.scxml.ScxmlPackage;
+import org.apache.commons.scxml.Send;
+import org.apache.commons.scxml.ServiceTemplate;
+import org.apache.commons.scxml.State;
+import org.apache.commons.scxml.Translation;
+import org.apache.commons.scxml.diagram.edit.parts.Anchor2EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.AnchorEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.Assign2EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.AssignEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.Cancel2EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.CancelEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.Content2EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.Content3EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.Content4EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.Content5EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.ContentContentCompartment2EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.ContentContentCompartment3EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.ContentContentCompartment4EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.ContentContentCompartment5EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.ContentContentCompartmentEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.ContentEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.DataDataCompartmentEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.DataEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.DataModelDataModelCompartmentEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.DataModelEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.DonedataDonedataCompartmentEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.DonedataEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.ElseEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.ElseIfEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.FinalState2EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.FinalStateEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.FinalStateFinalStateCompartment2EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.FinalStateFinalStateCompartmentEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.FinalizeEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.HistoryState2EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.HistoryStateEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.If2EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.IfEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.IfIfCompartment2EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.IfIfCompartmentEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.InitialState2EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.InitialStateEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.InvokeEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.InvokeInvokeCompartmentEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.Log2EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.LogEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.OnEntry2EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.OnEntry3EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.OnEntryEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.OnEntryOnEntryCompartment2EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.OnEntryOnEntryCompartment3EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.OnEntryOnEntryCompartmentEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.OnExit2EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.OnExit3EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.OnExitEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.OnExitOnExitCompartment2EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.OnExitOnExitCompartment3EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.OnExitOnExitCompartmentEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.Parallel2EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.Parallel3EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.ParallelEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.ParallelParallelCompartment2EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.ParallelParallelCompartment3EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.ParallelParallelCompartmentEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.Param2EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.Param3EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.Param4EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.Param5EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.ParamEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.Raise2EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.RaiseEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.Script2EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.Script3EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.ScriptEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.Send2EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.SendEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.SendSendCompartment2EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.SendSendCompartmentEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.ServiceTemplateEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.State2EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.State3EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.StateEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.StateStateCompartment2EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.StateStateCompartment3EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.StateStateCompartmentEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.TranslationEditPart;
+import org.apache.commons.scxml.diagram.edit.parts.Validate2EditPart;
+import org.apache.commons.scxml.diagram.edit.parts.ValidateEditPart;
+import org.apache.commons.scxml.diagram.providers.ScxmlElementTypes;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.ecore.util.EcoreUtil;
+import org.eclipse.gmf.runtime.notation.View;
+
+/**
+ * @generated
+ */
+public class ScxmlDiagramUpdater {
+
+	/**
+	 * @generated
+	 */
+	public static List getSemanticChildren(View view) {
+		switch (ScxmlVisualIDRegistry.getVisualID(view)) {
+		case StateStateCompartmentEditPart.VISUAL_ID:
+			return getStateStateCompartment_5001SemanticChildren(view);
+		case OnEntryOnEntryCompartmentEditPart.VISUAL_ID:
+			return getOnEntryOnEntryCompartment_5002SemanticChildren(view);
+		case IfIfCompartmentEditPart.VISUAL_ID:
+			return getIfIfCompartment_5003SemanticChildren(view);
+		case SendSendCompartmentEditPart.VISUAL_ID:
+			return getSendSendCompartment_5004SemanticChildren(view);
+		case ContentContentCompartmentEditPart.VISUAL_ID:
+			return getContentContentCompartment_5005SemanticChildren(view);
+		case ContentContentCompartment2EditPart.VISUAL_ID:
+			return getContentContentCompartment_5006SemanticChildren(view);
+		case OnExitOnExitCompartmentEditPart.VISUAL_ID:
+			return getOnExitOnExitCompartment_5007SemanticChildren(view);
+		case IfIfCompartment2EditPart.VISUAL_ID:
+			return getIfIfCompartment_5008SemanticChildren(view);
+		case SendSendCompartment2EditPart.VISUAL_ID:
+			return getSendSendCompartment_5009SemanticChildren(view);
+		case InvokeInvokeCompartmentEditPart.VISUAL_ID:
+			return getInvokeInvokeCompartment_5010SemanticChildren(view);
+		case ContentContentCompartment3EditPart.VISUAL_ID:
+			return getContentContentCompartment_5011SemanticChildren(view);
+		case ParallelParallelCompartmentEditPart.VISUAL_ID:
+			return getParallelParallelCompartment_5012SemanticChildren(view);
+		case ParallelParallelCompartment2EditPart.VISUAL_ID:
+			return getParallelParallelCompartment_5013SemanticChildren(view);
+		case OnEntryOnEntryCompartment2EditPart.VISUAL_ID:
+			return getOnEntryOnEntryCompartment_5014SemanticChildren(view);
+		case OnExitOnExitCompartment2EditPart.VISUAL_ID:
+			return getOnExitOnExitCompartment_5015SemanticChildren(view);
+		case StateStateCompartment2EditPart.VISUAL_ID:
+			return getStateStateCompartment_5016SemanticChildren(view);
+		case FinalStateFinalStateCompartmentEditPart.VISUAL_ID:
+			return getFinalStateFinalStateCompartment_5017SemanticChildren(view);
+		case DonedataDonedataCompartmentEditPart.VISUAL_ID:
+			return getDonedataDonedataCompartment_5018SemanticChildren(view);
+		case ContentContentCompartment4EditPart.VISUAL_ID:
+			return getContentContentCompartment_5019SemanticChildren(view);
+		case OnEntryOnEntryCompartment3EditPart.VISUAL_ID:
+			return getOnEntryOnEntryCompartment_5020SemanticChildren(view);
+		case OnExitOnExitCompartment3EditPart.VISUAL_ID:
+			return getOnExitOnExitCompartment_5021SemanticChildren(view);
+		case StateStateCompartment3EditPart.VISUAL_ID:
+			return getStateStateCompartment_5022SemanticChildren(view);
+		case ParallelParallelCompartment3EditPart.VISUAL_ID:
+			return getParallelParallelCompartment_5023SemanticChildren(view);
+		case DataModelDataModelCompartmentEditPart.VISUAL_ID:
+			return getDataModelDataModelCompartment_5024SemanticChildren(view);
+		case DataDataCompartmentEditPart.VISUAL_ID:
+			return getDataDataCompartment_5025SemanticChildren(view);
+		case ContentContentCompartment5EditPart.VISUAL_ID:
+			return getContentContentCompartment_5026SemanticChildren(view);
+		case FinalStateFinalStateCompartment2EditPart.VISUAL_ID:
+			return getFinalStateFinalStateCompartment_5027SemanticChildren(view);
+		case ServiceTemplateEditPart.VISUAL_ID:
+			return getServiceTemplate_79SemanticChildren(view);
+		}
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getStateStateCompartment_5001SemanticChildren(View view) {
+		if (false == view.eContainer() instanceof View) {
+			return Collections.EMPTY_LIST;
+		}
+		View containerView = (View) view.eContainer();
+		if (!containerView.isSetElement()) {
+			return Collections.EMPTY_LIST;
+		}
+		State modelElement = (State) containerView.getElement();
+		List result = new LinkedList();
+		{
+			OnEntry childElement = modelElement.getOnEntry();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == OnEntryEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		{
+			OnExit childElement = modelElement.getOnExit();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == OnExitEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		{
+			Invoke childElement = modelElement.getInvoke();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == InvokeEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		{
+			InitialState childElement = modelElement.getInitState();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == InitialState2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		for (Iterator it = modelElement.getHistoryState().iterator(); it
+				.hasNext();) {
+			HistoryState childElement = (HistoryState) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == HistoryStateEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		for (Iterator it = modelElement.getSubParallel().iterator(); it
+				.hasNext();) {
+			Parallel childElement = (Parallel) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == Parallel2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		for (Iterator it = modelElement.getAnchor().iterator(); it.hasNext();) {
+			Anchor childElement = (Anchor) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == Anchor2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		for (Iterator it = modelElement.getFinalState().iterator(); it
+				.hasNext();) {
+			FinalState childElement = (FinalState) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == FinalState2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		{
+			State childElement = modelElement.getSubState();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == State3EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getOnEntryOnEntryCompartment_5002SemanticChildren(
+			View view) {
+		if (false == view.eContainer() instanceof View) {
+			return Collections.EMPTY_LIST;
+		}
+		View containerView = (View) view.eContainer();
+		if (!containerView.isSetElement()) {
+			return Collections.EMPTY_LIST;
+		}
+		OnEntry modelElement = (OnEntry) containerView.getElement();
+		List result = new LinkedList();
+		for (Iterator it = modelElement.getExecutableContext().iterator(); it
+				.hasNext();) {
+			ExecutableContent childElement = (ExecutableContent) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == IfEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == AssignEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == RaiseEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == LogEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == ValidateEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == CancelEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == SendEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == Param2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		{
+			Script childElement = modelElement.getScript();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == Script2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getIfIfCompartment_5003SemanticChildren(View view) {
+		if (false == view.eContainer() instanceof View) {
+			return Collections.EMPTY_LIST;
+		}
+		View containerView = (View) view.eContainer();
+		if (!containerView.isSetElement()) {
+			return Collections.EMPTY_LIST;
+		}
+		If modelElement = (If) containerView.getElement();
+		List result = new LinkedList();
+		for (Iterator it = modelElement.getElseif().iterator(); it.hasNext();) {
+			ElseIf childElement = (ElseIf) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == ElseIfEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		{
+			Else childElement = modelElement.getElse();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == ElseEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getSendSendCompartment_5004SemanticChildren(View view) {
+		if (false == view.eContainer() instanceof View) {
+			return Collections.EMPTY_LIST;
+		}
+		View containerView = (View) view.eContainer();
+		if (!containerView.isSetElement()) {
+			return Collections.EMPTY_LIST;
+		}
+		Send modelElement = (Send) containerView.getElement();
+		List result = new LinkedList();
+		for (Iterator it = modelElement.getParam().iterator(); it.hasNext();) {
+			Param childElement = (Param) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == ParamEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		{
+			Content childElement = modelElement.getContent();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == ContentEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getContentContentCompartment_5005SemanticChildren(
+			View view) {
+		if (false == view.eContainer() instanceof View) {
+			return Collections.EMPTY_LIST;
+		}
+		View containerView = (View) view.eContainer();
+		if (!containerView.isSetElement()) {
+			return Collections.EMPTY_LIST;
+		}
+		Content modelElement = (Content) containerView.getElement();
+		List result = new LinkedList();
+		for (Iterator it = modelElement.getContent().iterator(); it.hasNext();) {
+			Content childElement = (Content) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == Content2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getContentContentCompartment_5006SemanticChildren(
+			View view) {
+		if (false == view.eContainer() instanceof View) {
+			return Collections.EMPTY_LIST;
+		}
+		View containerView = (View) view.eContainer();
+		if (!containerView.isSetElement()) {
+			return Collections.EMPTY_LIST;
+		}
+		Content modelElement = (Content) containerView.getElement();
+		List result = new LinkedList();
+		for (Iterator it = modelElement.getContent().iterator(); it.hasNext();) {
+			Content childElement = (Content) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == Content2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getOnExitOnExitCompartment_5007SemanticChildren(View view) {
+		if (false == view.eContainer() instanceof View) {
+			return Collections.EMPTY_LIST;
+		}
+		View containerView = (View) view.eContainer();
+		if (!containerView.isSetElement()) {
+			return Collections.EMPTY_LIST;
+		}
+		OnExit modelElement = (OnExit) containerView.getElement();
+		List result = new LinkedList();
+		for (Iterator it = modelElement.getExecutableContext().iterator(); it
+				.hasNext();) {
+			ExecutableContent childElement = (ExecutableContent) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == If2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == Assign2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == Raise2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == Log2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == Validate2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == Cancel2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == Param3EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == Send2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		{
+			Script childElement = modelElement.getScript();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == Script3EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getIfIfCompartment_5008SemanticChildren(View view) {
+		if (false == view.eContainer() instanceof View) {
+			return Collections.EMPTY_LIST;
+		}
+		View containerView = (View) view.eContainer();
+		if (!containerView.isSetElement()) {
+			return Collections.EMPTY_LIST;
+		}
+		If modelElement = (If) containerView.getElement();
+		List result = new LinkedList();
+		for (Iterator it = modelElement.getElseif().iterator(); it.hasNext();) {
+			ElseIf childElement = (ElseIf) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == ElseIfEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		{
+			Else childElement = modelElement.getElse();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == ElseEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getSendSendCompartment_5009SemanticChildren(View view) {
+		if (false == view.eContainer() instanceof View) {
+			return Collections.EMPTY_LIST;
+		}
+		View containerView = (View) view.eContainer();
+		if (!containerView.isSetElement()) {
+			return Collections.EMPTY_LIST;
+		}
+		Send modelElement = (Send) containerView.getElement();
+		List result = new LinkedList();
+		for (Iterator it = modelElement.getParam().iterator(); it.hasNext();) {
+			Param childElement = (Param) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == ParamEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		{
+			Content childElement = modelElement.getContent();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == ContentEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getInvokeInvokeCompartment_5010SemanticChildren(View view) {
+		if (false == view.eContainer() instanceof View) {
+			return Collections.EMPTY_LIST;
+		}
+		View containerView = (View) view.eContainer();
+		if (!containerView.isSetElement()) {
+			return Collections.EMPTY_LIST;
+		}
+		Invoke modelElement = (Invoke) containerView.getElement();
+		List result = new LinkedList();
+		{
+			Finalize childElement = modelElement.getFinalize();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == FinalizeEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		for (Iterator it = modelElement.getParam().iterator(); it.hasNext();) {
+			Param childElement = (Param) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == Param4EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		{
+			Content childElement = modelElement.getContent();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == Content3EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getContentContentCompartment_5011SemanticChildren(
+			View view) {
+		if (false == view.eContainer() instanceof View) {
+			return Collections.EMPTY_LIST;
+		}
+		View containerView = (View) view.eContainer();
+		if (!containerView.isSetElement()) {
+			return Collections.EMPTY_LIST;
+		}
+		Content modelElement = (Content) containerView.getElement();
+		List result = new LinkedList();
+		for (Iterator it = modelElement.getContent().iterator(); it.hasNext();) {
+			Content childElement = (Content) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == Content2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getParallelParallelCompartment_5012SemanticChildren(
+			View view) {
+		if (false == view.eContainer() instanceof View) {
+			return Collections.EMPTY_LIST;
+		}
+		View containerView = (View) view.eContainer();
+		if (!containerView.isSetElement()) {
+			return Collections.EMPTY_LIST;
+		}
+		Parallel modelElement = (Parallel) containerView.getElement();
+		List result = new LinkedList();
+		for (Iterator it = modelElement.getHistoryState().iterator(); it
+				.hasNext();) {
+			HistoryState childElement = (HistoryState) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == HistoryState2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		for (Iterator it = modelElement.getAnchor().iterator(); it.hasNext();) {
+			Anchor childElement = (Anchor) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == AnchorEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		for (Iterator it = modelElement.getParallel().iterator(); it.hasNext();) {
+			Parallel childElement = (Parallel) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == Parallel3EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		{
+			OnEntry childElement = modelElement.getOnEntry();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == OnEntry2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		{
+			OnExit childElement = modelElement.getOnExit();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == OnExit2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		for (Iterator it = modelElement.getState().iterator(); it.hasNext();) {
+			State childElement = (State) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == State2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getParallelParallelCompartment_5013SemanticChildren(
+			View view) {
+		if (false == view.eContainer() instanceof View) {
+			return Collections.EMPTY_LIST;
+		}
+		View containerView = (View) view.eContainer();
+		if (!containerView.isSetElement()) {
+			return Collections.EMPTY_LIST;
+		}
+		Parallel modelElement = (Parallel) containerView.getElement();
+		List result = new LinkedList();
+		for (Iterator it = modelElement.getHistoryState().iterator(); it
+				.hasNext();) {
+			HistoryState childElement = (HistoryState) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == HistoryState2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		for (Iterator it = modelElement.getAnchor().iterator(); it.hasNext();) {
+			Anchor childElement = (Anchor) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == AnchorEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		for (Iterator it = modelElement.getParallel().iterator(); it.hasNext();) {
+			Parallel childElement = (Parallel) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == Parallel3EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		{
+			OnEntry childElement = modelElement.getOnEntry();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == OnEntry2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		{
+			OnExit childElement = modelElement.getOnExit();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == OnExit2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		for (Iterator it = modelElement.getState().iterator(); it.hasNext();) {
+			State childElement = (State) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == State2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getOnEntryOnEntryCompartment_5014SemanticChildren(
+			View view) {
+		if (false == view.eContainer() instanceof View) {
+			return Collections.EMPTY_LIST;
+		}
+		View containerView = (View) view.eContainer();
+		if (!containerView.isSetElement()) {
+			return Collections.EMPTY_LIST;
+		}
+		OnEntry modelElement = (OnEntry) containerView.getElement();
+		List result = new LinkedList();
+		for (Iterator it = modelElement.getExecutableContext().iterator(); it
+				.hasNext();) {
+			ExecutableContent childElement = (ExecutableContent) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == IfEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == AssignEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == RaiseEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == LogEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == ValidateEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == CancelEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == SendEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == Param2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		{
+			Script childElement = modelElement.getScript();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == Script2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getOnExitOnExitCompartment_5015SemanticChildren(View view) {
+		if (false == view.eContainer() instanceof View) {
+			return Collections.EMPTY_LIST;
+		}
+		View containerView = (View) view.eContainer();
+		if (!containerView.isSetElement()) {
+			return Collections.EMPTY_LIST;
+		}
+		OnExit modelElement = (OnExit) containerView.getElement();
+		List result = new LinkedList();
+		for (Iterator it = modelElement.getExecutableContext().iterator(); it
+				.hasNext();) {
+			ExecutableContent childElement = (ExecutableContent) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == If2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == Assign2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == Raise2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == Log2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == Validate2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == Cancel2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == Param3EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == Send2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		{
+			Script childElement = modelElement.getScript();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == Script3EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getStateStateCompartment_5016SemanticChildren(View view) {
+		if (false == view.eContainer() instanceof View) {
+			return Collections.EMPTY_LIST;
+		}
+		View containerView = (View) view.eContainer();
+		if (!containerView.isSetElement()) {
+			return Collections.EMPTY_LIST;
+		}
+		State modelElement = (State) containerView.getElement();
+		List result = new LinkedList();
+		{
+			OnEntry childElement = modelElement.getOnEntry();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == OnEntryEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		{
+			OnExit childElement = modelElement.getOnExit();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == OnExitEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		{
+			Invoke childElement = modelElement.getInvoke();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == InvokeEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		{
+			InitialState childElement = modelElement.getInitState();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == InitialState2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		for (Iterator it = modelElement.getHistoryState().iterator(); it
+				.hasNext();) {
+			HistoryState childElement = (HistoryState) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == HistoryStateEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		for (Iterator it = modelElement.getSubParallel().iterator(); it
+				.hasNext();) {
+			Parallel childElement = (Parallel) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == Parallel2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		for (Iterator it = modelElement.getAnchor().iterator(); it.hasNext();) {
+			Anchor childElement = (Anchor) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == Anchor2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		for (Iterator it = modelElement.getFinalState().iterator(); it
+				.hasNext();) {
+			FinalState childElement = (FinalState) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == FinalState2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		{
+			State childElement = modelElement.getSubState();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == State3EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getFinalStateFinalStateCompartment_5017SemanticChildren(
+			View view) {
+		if (false == view.eContainer() instanceof View) {
+			return Collections.EMPTY_LIST;
+		}
+		View containerView = (View) view.eContainer();
+		if (!containerView.isSetElement()) {
+			return Collections.EMPTY_LIST;
+		}
+		FinalState modelElement = (FinalState) containerView.getElement();
+		List result = new LinkedList();
+		{
+			Donedata childElement = modelElement.getDonedata();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == DonedataEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		{
+			OnEntry childElement = modelElement.getOnEntry();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == OnEntry3EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		{
+			OnExit childElement = modelElement.getOnExit();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == OnExit3EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getDonedataDonedataCompartment_5018SemanticChildren(
+			View view) {
+		if (false == view.eContainer() instanceof View) {
+			return Collections.EMPTY_LIST;
+		}
+		View containerView = (View) view.eContainer();
+		if (!containerView.isSetElement()) {
+			return Collections.EMPTY_LIST;
+		}
+		Donedata modelElement = (Donedata) containerView.getElement();
+		List result = new LinkedList();
+		for (Iterator it = modelElement.getParam().iterator(); it.hasNext();) {
+			Param childElement = (Param) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == Param5EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		{
+			Content childElement = modelElement.getContent();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == Content4EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getContentContentCompartment_5019SemanticChildren(
+			View view) {
+		if (false == view.eContainer() instanceof View) {
+			return Collections.EMPTY_LIST;
+		}
+		View containerView = (View) view.eContainer();
+		if (!containerView.isSetElement()) {
+			return Collections.EMPTY_LIST;
+		}
+		Content modelElement = (Content) containerView.getElement();
+		List result = new LinkedList();
+		for (Iterator it = modelElement.getContent().iterator(); it.hasNext();) {
+			Content childElement = (Content) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == Content2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getOnEntryOnEntryCompartment_5020SemanticChildren(
+			View view) {
+		if (false == view.eContainer() instanceof View) {
+			return Collections.EMPTY_LIST;
+		}
+		View containerView = (View) view.eContainer();
+		if (!containerView.isSetElement()) {
+			return Collections.EMPTY_LIST;
+		}
+		OnEntry modelElement = (OnEntry) containerView.getElement();
+		List result = new LinkedList();
+		for (Iterator it = modelElement.getExecutableContext().iterator(); it
+				.hasNext();) {
+			ExecutableContent childElement = (ExecutableContent) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == IfEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == AssignEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == RaiseEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == LogEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == ValidateEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == CancelEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == SendEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == Param2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		{
+			Script childElement = modelElement.getScript();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == Script2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getOnExitOnExitCompartment_5021SemanticChildren(View view) {
+		if (false == view.eContainer() instanceof View) {
+			return Collections.EMPTY_LIST;
+		}
+		View containerView = (View) view.eContainer();
+		if (!containerView.isSetElement()) {
+			return Collections.EMPTY_LIST;
+		}
+		OnExit modelElement = (OnExit) containerView.getElement();
+		List result = new LinkedList();
+		for (Iterator it = modelElement.getExecutableContext().iterator(); it
+				.hasNext();) {
+			ExecutableContent childElement = (ExecutableContent) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == If2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == Assign2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == Raise2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == Log2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == Validate2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == Cancel2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == Param3EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+			if (visualID == Send2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		{
+			Script childElement = modelElement.getScript();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == Script3EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getStateStateCompartment_5022SemanticChildren(View view) {
+		if (false == view.eContainer() instanceof View) {
+			return Collections.EMPTY_LIST;
+		}
+		View containerView = (View) view.eContainer();
+		if (!containerView.isSetElement()) {
+			return Collections.EMPTY_LIST;
+		}
+		State modelElement = (State) containerView.getElement();
+		List result = new LinkedList();
+		{
+			OnEntry childElement = modelElement.getOnEntry();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == OnEntryEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		{
+			OnExit childElement = modelElement.getOnExit();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == OnExitEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		{
+			Invoke childElement = modelElement.getInvoke();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == InvokeEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		{
+			InitialState childElement = modelElement.getInitState();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == InitialState2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		for (Iterator it = modelElement.getHistoryState().iterator(); it
+				.hasNext();) {
+			HistoryState childElement = (HistoryState) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == HistoryStateEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		for (Iterator it = modelElement.getSubParallel().iterator(); it
+				.hasNext();) {
+			Parallel childElement = (Parallel) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == Parallel2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		for (Iterator it = modelElement.getAnchor().iterator(); it.hasNext();) {
+			Anchor childElement = (Anchor) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == Anchor2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		for (Iterator it = modelElement.getFinalState().iterator(); it
+				.hasNext();) {
+			FinalState childElement = (FinalState) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == FinalState2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		{
+			State childElement = modelElement.getSubState();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == State3EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getParallelParallelCompartment_5023SemanticChildren(
+			View view) {
+		if (false == view.eContainer() instanceof View) {
+			return Collections.EMPTY_LIST;
+		}
+		View containerView = (View) view.eContainer();
+		if (!containerView.isSetElement()) {
+			return Collections.EMPTY_LIST;
+		}
+		Parallel modelElement = (Parallel) containerView.getElement();
+		List result = new LinkedList();
+		for (Iterator it = modelElement.getHistoryState().iterator(); it
+				.hasNext();) {
+			HistoryState childElement = (HistoryState) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == HistoryState2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		for (Iterator it = modelElement.getAnchor().iterator(); it.hasNext();) {
+			Anchor childElement = (Anchor) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == AnchorEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		for (Iterator it = modelElement.getParallel().iterator(); it.hasNext();) {
+			Parallel childElement = (Parallel) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == Parallel3EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		{
+			OnEntry childElement = modelElement.getOnEntry();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == OnEntry2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		{
+			OnExit childElement = modelElement.getOnExit();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == OnExit2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		for (Iterator it = modelElement.getState().iterator(); it.hasNext();) {
+			State childElement = (State) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == State2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getDataModelDataModelCompartment_5024SemanticChildren(
+			View view) {
+		if (false == view.eContainer() instanceof View) {
+			return Collections.EMPTY_LIST;
+		}
+		View containerView = (View) view.eContainer();
+		if (!containerView.isSetElement()) {
+			return Collections.EMPTY_LIST;
+		}
+		DataModel modelElement = (DataModel) containerView.getElement();
+		List result = new LinkedList();
+		for (Iterator it = modelElement.getData().iterator(); it.hasNext();) {
+			Data childElement = (Data) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == DataEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getDataDataCompartment_5025SemanticChildren(View view) {
+		if (false == view.eContainer() instanceof View) {
+			return Collections.EMPTY_LIST;
+		}
+		View containerView = (View) view.eContainer();
+		if (!containerView.isSetElement()) {
+			return Collections.EMPTY_LIST;
+		}
+		Data modelElement = (Data) containerView.getElement();
+		List result = new LinkedList();
+		{
+			Content childElement = modelElement.getContent();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == Content5EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getContentContentCompartment_5026SemanticChildren(
+			View view) {
+		if (false == view.eContainer() instanceof View) {
+			return Collections.EMPTY_LIST;
+		}
+		View containerView = (View) view.eContainer();
+		if (!containerView.isSetElement()) {
+			return Collections.EMPTY_LIST;
+		}
+		Content modelElement = (Content) containerView.getElement();
+		List result = new LinkedList();
+		for (Iterator it = modelElement.getContent().iterator(); it.hasNext();) {
+			Content childElement = (Content) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == Content2EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getFinalStateFinalStateCompartment_5027SemanticChildren(
+			View view) {
+		if (false == view.eContainer() instanceof View) {
+			return Collections.EMPTY_LIST;
+		}
+		View containerView = (View) view.eContainer();
+		if (!containerView.isSetElement()) {
+			return Collections.EMPTY_LIST;
+		}
+		FinalState modelElement = (FinalState) containerView.getElement();
+		List result = new LinkedList();
+		{
+			Donedata childElement = modelElement.getDonedata();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == DonedataEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		{
+			OnEntry childElement = modelElement.getOnEntry();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == OnEntry3EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		{
+			OnExit childElement = modelElement.getOnExit();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == OnExit3EditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getServiceTemplate_79SemanticChildren(View view) {
+		if (!view.isSetElement()) {
+			return Collections.EMPTY_LIST;
+		}
+		ServiceTemplate modelElement = (ServiceTemplate) view.getElement();
+		List result = new LinkedList();
+		for (Iterator it = modelElement.getStateList().iterator(); it.hasNext();) {
+			State childElement = (State) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == StateEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		{
+			InitialState childElement = modelElement.getInitialState();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == InitialStateEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		{
+			Script childElement = modelElement.getScript();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == ScriptEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+			}
+		}
+		for (Iterator it = modelElement.getParallel().iterator(); it.hasNext();) {
+			Parallel childElement = (Parallel) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == ParallelEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		for (Iterator it = modelElement.getDataModel().iterator(); it.hasNext();) {
+			DataModel childElement = (DataModel) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == DataModelEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		for (Iterator it = modelElement.getFinalState().iterator(); it
+				.hasNext();) {
+			FinalState childElement = (FinalState) it.next();
+			int visualID = ScxmlVisualIDRegistry.getNodeVisualID(view,
+					childElement);
+			if (visualID == FinalStateEditPart.VISUAL_ID) {
+				result.add(new ScxmlNodeDescriptor(childElement, visualID));
+				continue;
+			}
+		}
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getContainedLinks(View view) {
+		switch (ScxmlVisualIDRegistry.getVisualID(view)) {
+		case ServiceTemplateEditPart.VISUAL_ID:
+			return getServiceTemplate_79ContainedLinks(view);
+		case StateEditPart.VISUAL_ID:
+			return getState_1001ContainedLinks(view);
+		case InitialStateEditPart.VISUAL_ID:
+			return getInitialState_1002ContainedLinks(view);
+		case ScriptEditPart.VISUAL_ID:
+			return getScript_1003ContainedLinks(view);
+		case ParallelEditPart.VISUAL_ID:
+			return getParallel_1004ContainedLinks(view);
+		case DataModelEditPart.VISUAL_ID:
+			return getDataModel_1005ContainedLinks(view);
+		case FinalStateEditPart.VISUAL_ID:
+			return getFinalState_1006ContainedLinks(view);
+		case OnEntryEditPart.VISUAL_ID:
+			return getOnEntry_2001ContainedLinks(view);
+		case IfEditPart.VISUAL_ID:
+			return getIf_2002ContainedLinks(view);
+		case ElseIfEditPart.VISUAL_ID:
+			return getElseIf_2003ContainedLinks(view);
+		case ElseEditPart.VISUAL_ID:
+			return getElse_2004ContainedLinks(view);
+		case AssignEditPart.VISUAL_ID:
+			return getAssign_2005ContainedLinks(view);
+		case RaiseEditPart.VISUAL_ID:
+			return getRaise_2006ContainedLinks(view);
+		case LogEditPart.VISUAL_ID:
+			return getLog_2007ContainedLinks(view);
+		case ValidateEditPart.VISUAL_ID:
+			return getValidate_2008ContainedLinks(view);
+		case CancelEditPart.VISUAL_ID:
+			return getCancel_2009ContainedLinks(view);
+		case SendEditPart.VISUAL_ID:
+			return getSend_2010ContainedLinks(view);
+		case ParamEditPart.VISUAL_ID:
+			return getParam_2011ContainedLinks(view);
+		case ContentEditPart.VISUAL_ID:
+			return getContent_2012ContainedLinks(view);
+		case Content2EditPart.VISUAL_ID:
+			return getContent_2013ContainedLinks(view);
+		case Param2EditPart.VISUAL_ID:
+			return getParam_2014ContainedLinks(view);
+		case Script2EditPart.VISUAL_ID:
+			return getScript_2015ContainedLinks(view);
+		case OnExitEditPart.VISUAL_ID:
+			return getOnExit_2016ContainedLinks(view);
+		case If2EditPart.VISUAL_ID:
+			return getIf_2017ContainedLinks(view);
+		case Assign2EditPart.VISUAL_ID:
+			return getAssign_2018ContainedLinks(view);
+		case Raise2EditPart.VISUAL_ID:
+			return getRaise_2019ContainedLinks(view);
+		case Log2EditPart.VISUAL_ID:
+			return getLog_2020ContainedLinks(view);
+		case Validate2EditPart.VISUAL_ID:
+			return getValidate_2021ContainedLinks(view);
+		case Cancel2EditPart.VISUAL_ID:
+			return getCancel_2022ContainedLinks(view);
+		case Param3EditPart.VISUAL_ID:
+			return getParam_2023ContainedLinks(view);
+		case Send2EditPart.VISUAL_ID:
+			return getSend_2024ContainedLinks(view);
+		case Script3EditPart.VISUAL_ID:
+			return getScript_2025ContainedLinks(view);
+		case InvokeEditPart.VISUAL_ID:
+			return getInvoke_2026ContainedLinks(view);
+		case FinalizeEditPart.VISUAL_ID:
+			return getFinalize_2027ContainedLinks(view);
+		case Param4EditPart.VISUAL_ID:
+			return getParam_2028ContainedLinks(view);
+		case Content3EditPart.VISUAL_ID:
+			return getContent_2029ContainedLinks(view);
+		case InitialState2EditPart.VISUAL_ID:
+			return getInitialState_2030ContainedLinks(view);
+		case HistoryStateEditPart.VISUAL_ID:
+			return getHistoryState_2031ContainedLinks(view);
+		case Parallel2EditPart.VISUAL_ID:
+			return getParallel_2032ContainedLinks(view);
+		case HistoryState2EditPart.VISUAL_ID:
+			return getHistoryState_2033ContainedLinks(view);
+		case AnchorEditPart.VISUAL_ID:
+			return getAnchor_2034ContainedLinks(view);
+		case Parallel3EditPart.VISUAL_ID:
+			return getParallel_2035ContainedLinks(view);
+		case OnEntry2EditPart.VISUAL_ID:
+			return getOnEntry_2036ContainedLinks(view);
+		case OnExit2EditPart.VISUAL_ID:
+			return getOnExit_2037ContainedLinks(view);
+		case State2EditPart.VISUAL_ID:
+			return getState_2038ContainedLinks(view);
+		case Anchor2EditPart.VISUAL_ID:
+			return getAnchor_2039ContainedLinks(view);
+		case FinalState2EditPart.VISUAL_ID:
+			return getFinalState_2040ContainedLinks(view);
+		case DonedataEditPart.VISUAL_ID:
+			return getDonedata_2041ContainedLinks(view);
+		case Param5EditPart.VISUAL_ID:
+			return getParam_2042ContainedLinks(view);
+		case Content4EditPart.VISUAL_ID:
+			return getContent_2043ContainedLinks(view);
+		case OnEntry3EditPart.VISUAL_ID:
+			return getOnEntry_2044ContainedLinks(view);
+		case OnExit3EditPart.VISUAL_ID:
+			return getOnExit_2045ContainedLinks(view);
+		case State3EditPart.VISUAL_ID:
+			return getState_2046ContainedLinks(view);
+		case DataEditPart.VISUAL_ID:
+			return getData_2047ContainedLinks(view);
+		case Content5EditPart.VISUAL_ID:
+			return getContent_2048ContainedLinks(view);
+		case TranslationEditPart.VISUAL_ID:
+			return getTranslation_3001ContainedLinks(view);
+		}
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getIncomingLinks(View view) {
+		switch (ScxmlVisualIDRegistry.getVisualID(view)) {
+		case StateEditPart.VISUAL_ID:
+			return getState_1001IncomingLinks(view);
+		case InitialStateEditPart.VISUAL_ID:
+			return getInitialState_1002IncomingLinks(view);
+		case ScriptEditPart.VISUAL_ID:
+			return getScript_1003IncomingLinks(view);
+		case ParallelEditPart.VISUAL_ID:
+			return getParallel_1004IncomingLinks(view);
+		case DataModelEditPart.VISUAL_ID:
+			return getDataModel_1005IncomingLinks(view);
+		case FinalStateEditPart.VISUAL_ID:
+			return getFinalState_1006IncomingLinks(view);
+		case OnEntryEditPart.VISUAL_ID:
+			return getOnEntry_2001IncomingLinks(view);
+		case IfEditPart.VISUAL_ID:
+			return getIf_2002IncomingLinks(view);
+		case ElseIfEditPart.VISUAL_ID:
+			return getElseIf_2003IncomingLinks(view);
+		case ElseEditPart.VISUAL_ID:
+			return getElse_2004IncomingLinks(view);
+		case AssignEditPart.VISUAL_ID:
+			return getAssign_2005IncomingLinks(view);
+		case RaiseEditPart.VISUAL_ID:
+			return getRaise_2006IncomingLinks(view);
+		case LogEditPart.VISUAL_ID:
+			return getLog_2007IncomingLinks(view);
+		case ValidateEditPart.VISUAL_ID:
+			return getValidate_2008IncomingLinks(view);
+		case CancelEditPart.VISUAL_ID:
+			return getCancel_2009IncomingLinks(view);
+		case SendEditPart.VISUAL_ID:
+			return getSend_2010IncomingLinks(view);
+		case ParamEditPart.VISUAL_ID:
+			return getParam_2011IncomingLinks(view);
+		case ContentEditPart.VISUAL_ID:
+			return getContent_2012IncomingLinks(view);
+		case Content2EditPart.VISUAL_ID:
+			return getContent_2013IncomingLinks(view);
+		case Param2EditPart.VISUAL_ID:
+			return getParam_2014IncomingLinks(view);
+		case Script2EditPart.VISUAL_ID:
+			return getScript_2015IncomingLinks(view);
+		case OnExitEditPart.VISUAL_ID:
+			return getOnExit_2016IncomingLinks(view);
+		case If2EditPart.VISUAL_ID:
+			return getIf_2017IncomingLinks(view);
+		case Assign2EditPart.VISUAL_ID:
+			return getAssign_2018IncomingLinks(view);
+		case Raise2EditPart.VISUAL_ID:
+			return getRaise_2019IncomingLinks(view);
+		case Log2EditPart.VISUAL_ID:
+			return getLog_2020IncomingLinks(view);
+		case Validate2EditPart.VISUAL_ID:
+			return getValidate_2021IncomingLinks(view);
+		case Cancel2EditPart.VISUAL_ID:
+			return getCancel_2022IncomingLinks(view);
+		case Param3EditPart.VISUAL_ID:
+			return getParam_2023IncomingLinks(view);
+		case Send2EditPart.VISUAL_ID:
+			return getSend_2024IncomingLinks(view);
+		case Script3EditPart.VISUAL_ID:
+			return getScript_2025IncomingLinks(view);
+		case InvokeEditPart.VISUAL_ID:
+			return getInvoke_2026IncomingLinks(view);
+		case FinalizeEditPart.VISUAL_ID:
+			return getFinalize_2027IncomingLinks(view);
+		case Param4EditPart.VISUAL_ID:
+			return getParam_2028IncomingLinks(view);
+		case Content3EditPart.VISUAL_ID:
+			return getContent_2029IncomingLinks(view);
+		case InitialState2EditPart.VISUAL_ID:
+			return getInitialState_2030IncomingLinks(view);
+		case HistoryStateEditPart.VISUAL_ID:
+			return getHistoryState_2031IncomingLinks(view);
+		case Parallel2EditPart.VISUAL_ID:
+			return getParallel_2032IncomingLinks(view);
+		case HistoryState2EditPart.VISUAL_ID:
+			return getHistoryState_2033IncomingLinks(view);
+		case AnchorEditPart.VISUAL_ID:
+			return getAnchor_2034IncomingLinks(view);
+		case Parallel3EditPart.VISUAL_ID:
+			return getParallel_2035IncomingLinks(view);
+		case OnEntry2EditPart.VISUAL_ID:
+			return getOnEntry_2036IncomingLinks(view);
+		case OnExit2EditPart.VISUAL_ID:
+			return getOnExit_2037IncomingLinks(view);
+		case State2EditPart.VISUAL_ID:
+			return getState_2038IncomingLinks(view);
+		case Anchor2EditPart.VISUAL_ID:
+			return getAnchor_2039IncomingLinks(view);
+		case FinalState2EditPart.VISUAL_ID:
+			return getFinalState_2040IncomingLinks(view);
+		case DonedataEditPart.VISUAL_ID:
+			return getDonedata_2041IncomingLinks(view);
+		case Param5EditPart.VISUAL_ID:
+			return getParam_2042IncomingLinks(view);
+		case Content4EditPart.VISUAL_ID:
+			return getContent_2043IncomingLinks(view);
+		case OnEntry3EditPart.VISUAL_ID:
+			return getOnEntry_2044IncomingLinks(view);
+		case OnExit3EditPart.VISUAL_ID:
+			return getOnExit_2045IncomingLinks(view);
+		case State3EditPart.VISUAL_ID:
+			return getState_2046IncomingLinks(view);
+		case DataEditPart.VISUAL_ID:
+			return getData_2047IncomingLinks(view);
+		case Content5EditPart.VISUAL_ID:
+			return getContent_2048IncomingLinks(view);
+		case TranslationEditPart.VISUAL_ID:
+			return getTranslation_3001IncomingLinks(view);
+		}
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getOutgoingLinks(View view) {
+		switch (ScxmlVisualIDRegistry.getVisualID(view)) {
+		case StateEditPart.VISUAL_ID:
+			return getState_1001OutgoingLinks(view);
+		case InitialStateEditPart.VISUAL_ID:
+			return getInitialState_1002OutgoingLinks(view);
+		case ScriptEditPart.VISUAL_ID:
+			return getScript_1003OutgoingLinks(view);
+		case ParallelEditPart.VISUAL_ID:
+			return getParallel_1004OutgoingLinks(view);
+		case DataModelEditPart.VISUAL_ID:
+			return getDataModel_1005OutgoingLinks(view);
+		case FinalStateEditPart.VISUAL_ID:
+			return getFinalState_1006OutgoingLinks(view);
+		case OnEntryEditPart.VISUAL_ID:
+			return getOnEntry_2001OutgoingLinks(view);
+		case IfEditPart.VISUAL_ID:
+			return getIf_2002OutgoingLinks(view);
+		case ElseIfEditPart.VISUAL_ID:
+			return getElseIf_2003OutgoingLinks(view);
+		case ElseEditPart.VISUAL_ID:
+			return getElse_2004OutgoingLinks(view);
+		case AssignEditPart.VISUAL_ID:
+			return getAssign_2005OutgoingLinks(view);
+		case RaiseEditPart.VISUAL_ID:
+			return getRaise_2006OutgoingLinks(view);
+		case LogEditPart.VISUAL_ID:
+			return getLog_2007OutgoingLinks(view);
+		case ValidateEditPart.VISUAL_ID:
+			return getValidate_2008OutgoingLinks(view);
+		case CancelEditPart.VISUAL_ID:
+			return getCancel_2009OutgoingLinks(view);
+		case SendEditPart.VISUAL_ID:
+			return getSend_2010OutgoingLinks(view);
+		case ParamEditPart.VISUAL_ID:
+			return getParam_2011OutgoingLinks(view);
+		case ContentEditPart.VISUAL_ID:
+			return getContent_2012OutgoingLinks(view);
+		case Content2EditPart.VISUAL_ID:
+			return getContent_2013OutgoingLinks(view);
+		case Param2EditPart.VISUAL_ID:
+			return getParam_2014OutgoingLinks(view);
+		case Script2EditPart.VISUAL_ID:
+			return getScript_2015OutgoingLinks(view);
+		case OnExitEditPart.VISUAL_ID:
+			return getOnExit_2016OutgoingLinks(view);
+		case If2EditPart.VISUAL_ID:
+			return getIf_2017OutgoingLinks(view);
+		case Assign2EditPart.VISUAL_ID:
+			return getAssign_2018OutgoingLinks(view);
+		case Raise2EditPart.VISUAL_ID:
+			return getRaise_2019OutgoingLinks(view);
+		case Log2EditPart.VISUAL_ID:
+			return getLog_2020OutgoingLinks(view);
+		case Validate2EditPart.VISUAL_ID:
+			return getValidate_2021OutgoingLinks(view);
+		case Cancel2EditPart.VISUAL_ID:
+			return getCancel_2022OutgoingLinks(view);
+		case Param3EditPart.VISUAL_ID:
+			return getParam_2023OutgoingLinks(view);
+		case Send2EditPart.VISUAL_ID:
+			return getSend_2024OutgoingLinks(view);
+		case Script3EditPart.VISUAL_ID:
+			return getScript_2025OutgoingLinks(view);
+		case InvokeEditPart.VISUAL_ID:
+			return getInvoke_2026OutgoingLinks(view);
+		case FinalizeEditPart.VISUAL_ID:
+			return getFinalize_2027OutgoingLinks(view);
+		case Param4EditPart.VISUAL_ID:
+			return getParam_2028OutgoingLinks(view);
+		case Content3EditPart.VISUAL_ID:
+			return getContent_2029OutgoingLinks(view);
+		case InitialState2EditPart.VISUAL_ID:
+			return getInitialState_2030OutgoingLinks(view);
+		case HistoryStateEditPart.VISUAL_ID:
+			return getHistoryState_2031OutgoingLinks(view);
+		case Parallel2EditPart.VISUAL_ID:
+			return getParallel_2032OutgoingLinks(view);
+		case HistoryState2EditPart.VISUAL_ID:
+			return getHistoryState_2033OutgoingLinks(view);
+		case AnchorEditPart.VISUAL_ID:
+			return getAnchor_2034OutgoingLinks(view);
+		case Parallel3EditPart.VISUAL_ID:
+			return getParallel_2035OutgoingLinks(view);
+		case OnEntry2EditPart.VISUAL_ID:
+			return getOnEntry_2036OutgoingLinks(view);
+		case OnExit2EditPart.VISUAL_ID:
+			return getOnExit_2037OutgoingLinks(view);
+		case State2EditPart.VISUAL_ID:
+			return getState_2038OutgoingLinks(view);
+		case Anchor2EditPart.VISUAL_ID:
+			return getAnchor_2039OutgoingLinks(view);
+		case FinalState2EditPart.VISUAL_ID:
+			return getFinalState_2040OutgoingLinks(view);
+		case DonedataEditPart.VISUAL_ID:
+			return getDonedata_2041OutgoingLinks(view);
+		case Param5EditPart.VISUAL_ID:
+			return getParam_2042OutgoingLinks(view);
+		case Content4EditPart.VISUAL_ID:
+			return getContent_2043OutgoingLinks(view);
+		case OnEntry3EditPart.VISUAL_ID:
+			return getOnEntry_2044OutgoingLinks(view);
+		case OnExit3EditPart.VISUAL_ID:
+			return getOnExit_2045OutgoingLinks(view);
+		case State3EditPart.VISUAL_ID:
+			return getState_2046OutgoingLinks(view);
+		case DataEditPart.VISUAL_ID:
+			return getData_2047OutgoingLinks(view);
+		case Content5EditPart.VISUAL_ID:
+			return getContent_2048OutgoingLinks(view);
+		case TranslationEditPart.VISUAL_ID:
+			return getTranslation_3001OutgoingLinks(view);
+		}
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getServiceTemplate_79ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getState_1001ContainedLinks(View view) {
+		State modelElement = (State) view.getElement();
+		List result = new LinkedList();
+		result
+				.addAll(getContainedTypeModelFacetLinks_Translation_3001(modelElement));
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getInitialState_1002ContainedLinks(View view) {
+		InitialState modelElement = (InitialState) view.getElement();
+		List result = new LinkedList();
+		result
+				.addAll(getContainedTypeModelFacetLinks_Translation_3001(modelElement));
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getScript_1003ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getParallel_1004ContainedLinks(View view) {
+		Parallel modelElement = (Parallel) view.getElement();
+		List result = new LinkedList();
+		result
+				.addAll(getContainedTypeModelFacetLinks_Translation_3001(modelElement));
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getDataModel_1005ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getFinalState_1006ContainedLinks(View view) {
+		FinalState modelElement = (FinalState) view.getElement();
+		List result = new LinkedList();
+		result
+				.addAll(getContainedTypeModelFacetLinks_Translation_3001(modelElement));
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getOnEntry_2001ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getIf_2002ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getElseIf_2003ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getElse_2004ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getAssign_2005ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getRaise_2006ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getLog_2007ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getValidate_2008ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getCancel_2009ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getSend_2010ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getParam_2011ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getContent_2012ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getContent_2013ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getParam_2014ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getScript_2015ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getOnExit_2016ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getIf_2017ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getAssign_2018ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getRaise_2019ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getLog_2020ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getValidate_2021ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getCancel_2022ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getParam_2023ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getSend_2024ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getScript_2025ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getInvoke_2026ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getFinalize_2027ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getParam_2028ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getContent_2029ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getInitialState_2030ContainedLinks(View view) {
+		InitialState modelElement = (InitialState) view.getElement();
+		List result = new LinkedList();
+		result
+				.addAll(getContainedTypeModelFacetLinks_Translation_3001(modelElement));
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getHistoryState_2031ContainedLinks(View view) {
+		HistoryState modelElement = (HistoryState) view.getElement();
+		List result = new LinkedList();
+		result
+				.addAll(getContainedTypeModelFacetLinks_Translation_3001(modelElement));
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getParallel_2032ContainedLinks(View view) {
+		Parallel modelElement = (Parallel) view.getElement();
+		List result = new LinkedList();
+		result
+				.addAll(getContainedTypeModelFacetLinks_Translation_3001(modelElement));
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getHistoryState_2033ContainedLinks(View view) {
+		HistoryState modelElement = (HistoryState) view.getElement();
+		List result = new LinkedList();
+		result
+				.addAll(getContainedTypeModelFacetLinks_Translation_3001(modelElement));
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getAnchor_2034ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getParallel_2035ContainedLinks(View view) {
+		Parallel modelElement = (Parallel) view.getElement();
+		List result = new LinkedList();
+		result
+				.addAll(getContainedTypeModelFacetLinks_Translation_3001(modelElement));
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getOnEntry_2036ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getOnExit_2037ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getState_2038ContainedLinks(View view) {
+		State modelElement = (State) view.getElement();
+		List result = new LinkedList();
+		result
+				.addAll(getContainedTypeModelFacetLinks_Translation_3001(modelElement));
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getAnchor_2039ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getFinalState_2040ContainedLinks(View view) {
+		FinalState modelElement = (FinalState) view.getElement();
+		List result = new LinkedList();
+		result
+				.addAll(getContainedTypeModelFacetLinks_Translation_3001(modelElement));
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getDonedata_2041ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getParam_2042ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getContent_2043ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getOnEntry_2044ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getOnExit_2045ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getState_2046ContainedLinks(View view) {
+		State modelElement = (State) view.getElement();
+		List result = new LinkedList();
+		result
+				.addAll(getContainedTypeModelFacetLinks_Translation_3001(modelElement));
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getData_2047ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getContent_2048ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getTranslation_3001ContainedLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getState_1001IncomingLinks(View view) {
+		State modelElement = (State) view.getElement();
+		Map crossReferences = EcoreUtil.CrossReferencer.find(view.eResource()
+				.getResourceSet().getResources());
+		List result = new LinkedList();
+		result.addAll(getIncomingTypeModelFacetLinks_Translation_3001(
+				modelElement, crossReferences));
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getInitialState_1002IncomingLinks(View view) {
+		InitialState modelElement = (InitialState) view.getElement();
+		Map crossReferences = EcoreUtil.CrossReferencer.find(view.eResource()
+				.getResourceSet().getResources());
+		List result = new LinkedList();
+		result.addAll(getIncomingTypeModelFacetLinks_Translation_3001(
+				modelElement, crossReferences));
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getScript_1003IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getParallel_1004IncomingLinks(View view) {
+		Parallel modelElement = (Parallel) view.getElement();
+		Map crossReferences = EcoreUtil.CrossReferencer.find(view.eResource()
+				.getResourceSet().getResources());
+		List result = new LinkedList();
+		result.addAll(getIncomingTypeModelFacetLinks_Translation_3001(
+				modelElement, crossReferences));
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getDataModel_1005IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getFinalState_1006IncomingLinks(View view) {
+		FinalState modelElement = (FinalState) view.getElement();
+		Map crossReferences = EcoreUtil.CrossReferencer.find(view.eResource()
+				.getResourceSet().getResources());
+		List result = new LinkedList();
+		result.addAll(getIncomingTypeModelFacetLinks_Translation_3001(
+				modelElement, crossReferences));
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getOnEntry_2001IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getIf_2002IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getElseIf_2003IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getElse_2004IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getAssign_2005IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getRaise_2006IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getLog_2007IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getValidate_2008IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getCancel_2009IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getSend_2010IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getParam_2011IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getContent_2012IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getContent_2013IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getParam_2014IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getScript_2015IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getOnExit_2016IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getIf_2017IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getAssign_2018IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getRaise_2019IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getLog_2020IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getValidate_2021IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getCancel_2022IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getParam_2023IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getSend_2024IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getScript_2025IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getInvoke_2026IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getFinalize_2027IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getParam_2028IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getContent_2029IncomingLinks(View view) {
+		return Collections.EMPTY_LIST;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getInitialState_2030IncomingLinks(View view) {
+		InitialState modelElement = (InitialState) view.getElement();
+		Map crossReferences = EcoreUtil.CrossReferencer.find(view.eResource()
+				.getResourceSet().getResources());
+		List result = new LinkedList();
+		result.addAll(getIncomingTypeModelFacetLinks_Translation_3001(
+				modelElement, crossReferences));
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getHistoryState_2031IncomingLinks(View view) {
+		HistoryState modelElement = (HistoryState) view.getElement();
+		Map crossReferences = EcoreUtil.CrossReferencer.find(view.eResource()
+				.getResourceSet().getResources());
+		List result = new LinkedList();
+		result.addAll(getIncomingTypeModelFacetLinks_Translation_3001(
+				modelElement, crossReferences));
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */
+	public static List getParallel_2032IncomingLinks(View view) {
+		Parallel modelElement = (Parallel) view.getElement();
+		Map crossReferences = EcoreUtil.CrossReferencer.find(view.eResource()
+				.getResourceSet().getResources());
+		List result = new LinkedList();
+		result.addAll(getIncomingTypeModelFacetLinks_Translation_3001(
+				modelElement, crossReferences));
+		return result;
+	}
+
+	/**
+	 * @generated
+	 */

[... 638 lines stripped ...]


Mime
View raw message