Return-Path: Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: (qmail 92561 invoked from network); 21 May 2010 06:06:41 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 May 2010 06:06:41 -0000 Received: (qmail 5847 invoked by uid 500); 21 May 2010 06:06:41 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 5772 invoked by uid 500); 21 May 2010 06:06:40 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 5765 invoked by uid 99); 21 May 2010 06:06:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 May 2010 06:06:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 May 2010 06:06:33 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 119482388C36; Fri, 21 May 2010 06:05:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r946887 [17/21] - in /commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml: diagram/ modeling/diagram/edit/commands/ modeling/diagram/edit/helpers/ modeling/diagr... Date: Fri, 21 May 2010 06:05:06 -0000 To: commits@commons.apache.org From: guixl@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100521060518.119482388C36@eris.apache.org> Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/providers/ModelingElementTypes.java URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/providers/ModelingElementTypes.java?rev=946887&r1=946886&r2=946887&view=diff ============================================================================== --- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/providers/ModelingElementTypes.java (original) +++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/providers/ModelingElementTypes.java Fri May 21 06:04:54 2010 @@ -1,3 +1,19 @@ +/* + * 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.modeling.diagram.providers; import java.util.HashSet; @@ -5,8 +21,8 @@ import java.util.IdentityHashMap; import java.util.Map; import java.util.Set; -import org.apache.commons.scxml.modeling.diagram.part.ModelingDiagramEditorPlugin; import org.apache.commons.scxml.modeling.ModelingPackage; +import org.apache.commons.scxml.modeling.diagram.part.ModelingDiagramEditorPlugin; import org.eclipse.core.runtime.IAdaptable; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EClassifier; @@ -47,227 +63,227 @@ public class ModelingElementTypes extend /** * @generated */ - public static final IElementType ServiceTemplate_79 = getElementType("org.apache.commons.scxml.modeling.diagram.ServiceTemplate_79"); //$NON-NLS-1$ + public static final IElementType ServiceTemplate_1000 = getElementType("org.apache.commons.scxml.modeling.diagram.ServiceTemplate_1000"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType State_1001 = getElementType("org.apache.commons.scxml.modeling.diagram.State_1001"); //$NON-NLS-1$ + public static final IElementType State_2001 = getElementType("org.apache.commons.scxml.modeling.diagram.State_2001"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType InitialState_1002 = getElementType("org.apache.commons.scxml.modeling.diagram.InitialState_1002"); //$NON-NLS-1$ + public static final IElementType InitialState_2002 = getElementType("org.apache.commons.scxml.modeling.diagram.InitialState_2002"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Script_1003 = getElementType("org.apache.commons.scxml.modeling.diagram.Script_1003"); //$NON-NLS-1$ + public static final IElementType Script_2003 = getElementType("org.apache.commons.scxml.modeling.diagram.Script_2003"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Parallel_1004 = getElementType("org.apache.commons.scxml.modeling.diagram.Parallel_1004"); //$NON-NLS-1$ + public static final IElementType Parallel_2004 = getElementType("org.apache.commons.scxml.modeling.diagram.Parallel_2004"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType DataModel_1005 = getElementType("org.apache.commons.scxml.modeling.diagram.DataModel_1005"); //$NON-NLS-1$ + public static final IElementType DataModel_2005 = getElementType("org.apache.commons.scxml.modeling.diagram.DataModel_2005"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType FinalState_1006 = getElementType("org.apache.commons.scxml.modeling.diagram.FinalState_1006"); //$NON-NLS-1$ + public static final IElementType FinalState_2006 = getElementType("org.apache.commons.scxml.modeling.diagram.FinalState_2006"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType OnEntry_2001 = getElementType("org.apache.commons.scxml.modeling.diagram.OnEntry_2001"); //$NON-NLS-1$ + public static final IElementType OnEntry_3001 = getElementType("org.apache.commons.scxml.modeling.diagram.OnEntry_3001"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType If_2002 = getElementType("org.apache.commons.scxml.modeling.diagram.If_2002"); //$NON-NLS-1$ + public static final IElementType If_3002 = getElementType("org.apache.commons.scxml.modeling.diagram.If_3002"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType ElseIf_2003 = getElementType("org.apache.commons.scxml.modeling.diagram.ElseIf_2003"); //$NON-NLS-1$ + public static final IElementType ElseIf_3003 = getElementType("org.apache.commons.scxml.modeling.diagram.ElseIf_3003"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Else_2004 = getElementType("org.apache.commons.scxml.modeling.diagram.Else_2004"); //$NON-NLS-1$ + public static final IElementType Else_3004 = getElementType("org.apache.commons.scxml.modeling.diagram.Else_3004"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Assign_2005 = getElementType("org.apache.commons.scxml.modeling.diagram.Assign_2005"); //$NON-NLS-1$ + public static final IElementType Assign_3005 = getElementType("org.apache.commons.scxml.modeling.diagram.Assign_3005"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Raise_2006 = getElementType("org.apache.commons.scxml.modeling.diagram.Raise_2006"); //$NON-NLS-1$ + public static final IElementType Raise_3006 = getElementType("org.apache.commons.scxml.modeling.diagram.Raise_3006"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Log_2007 = getElementType("org.apache.commons.scxml.modeling.diagram.Log_2007"); //$NON-NLS-1$ + public static final IElementType Log_3007 = getElementType("org.apache.commons.scxml.modeling.diagram.Log_3007"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Validate_2008 = getElementType("org.apache.commons.scxml.modeling.diagram.Validate_2008"); //$NON-NLS-1$ + public static final IElementType Validate_3008 = getElementType("org.apache.commons.scxml.modeling.diagram.Validate_3008"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Cancel_2009 = getElementType("org.apache.commons.scxml.modeling.diagram.Cancel_2009"); //$NON-NLS-1$ + public static final IElementType Cancel_3009 = getElementType("org.apache.commons.scxml.modeling.diagram.Cancel_3009"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Send_2010 = getElementType("org.apache.commons.scxml.modeling.diagram.Send_2010"); //$NON-NLS-1$ + public static final IElementType Send_3010 = getElementType("org.apache.commons.scxml.modeling.diagram.Send_3010"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Param_2011 = getElementType("org.apache.commons.scxml.modeling.diagram.Param_2011"); //$NON-NLS-1$ + public static final IElementType Param_3011 = getElementType("org.apache.commons.scxml.modeling.diagram.Param_3011"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Content_2012 = getElementType("org.apache.commons.scxml.modeling.diagram.Content_2012"); //$NON-NLS-1$ + public static final IElementType Content_3012 = getElementType("org.apache.commons.scxml.modeling.diagram.Content_3012"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Content_2013 = getElementType("org.apache.commons.scxml.modeling.diagram.Content_2013"); //$NON-NLS-1$ + public static final IElementType Content_3013 = getElementType("org.apache.commons.scxml.modeling.diagram.Content_3013"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Param_2014 = getElementType("org.apache.commons.scxml.modeling.diagram.Param_2014"); //$NON-NLS-1$ + public static final IElementType Param_3014 = getElementType("org.apache.commons.scxml.modeling.diagram.Param_3014"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Script_2015 = getElementType("org.apache.commons.scxml.modeling.diagram.Script_2015"); //$NON-NLS-1$ + public static final IElementType Script_3015 = getElementType("org.apache.commons.scxml.modeling.diagram.Script_3015"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType OnExit_2016 = getElementType("org.apache.commons.scxml.modeling.diagram.OnExit_2016"); //$NON-NLS-1$ + public static final IElementType OnExit_3016 = getElementType("org.apache.commons.scxml.modeling.diagram.OnExit_3016"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType If_2017 = getElementType("org.apache.commons.scxml.modeling.diagram.If_2017"); //$NON-NLS-1$ + public static final IElementType If_3017 = getElementType("org.apache.commons.scxml.modeling.diagram.If_3017"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Assign_2018 = getElementType("org.apache.commons.scxml.modeling.diagram.Assign_2018"); //$NON-NLS-1$ + public static final IElementType Assign_3018 = getElementType("org.apache.commons.scxml.modeling.diagram.Assign_3018"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Raise_2019 = getElementType("org.apache.commons.scxml.modeling.diagram.Raise_2019"); //$NON-NLS-1$ + public static final IElementType Raise_3019 = getElementType("org.apache.commons.scxml.modeling.diagram.Raise_3019"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Log_2020 = getElementType("org.apache.commons.scxml.modeling.diagram.Log_2020"); //$NON-NLS-1$ + public static final IElementType Log_3020 = getElementType("org.apache.commons.scxml.modeling.diagram.Log_3020"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Validate_2021 = getElementType("org.apache.commons.scxml.modeling.diagram.Validate_2021"); //$NON-NLS-1$ + public static final IElementType Validate_3021 = getElementType("org.apache.commons.scxml.modeling.diagram.Validate_3021"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Cancel_2022 = getElementType("org.apache.commons.scxml.modeling.diagram.Cancel_2022"); //$NON-NLS-1$ + public static final IElementType Cancel_3022 = getElementType("org.apache.commons.scxml.modeling.diagram.Cancel_3022"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Param_2023 = getElementType("org.apache.commons.scxml.modeling.diagram.Param_2023"); //$NON-NLS-1$ + public static final IElementType Param_3023 = getElementType("org.apache.commons.scxml.modeling.diagram.Param_3023"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Send_2024 = getElementType("org.apache.commons.scxml.modeling.diagram.Send_2024"); //$NON-NLS-1$ + public static final IElementType Send_3024 = getElementType("org.apache.commons.scxml.modeling.diagram.Send_3024"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Script_2025 = getElementType("org.apache.commons.scxml.modeling.diagram.Script_2025"); //$NON-NLS-1$ + public static final IElementType Script_3025 = getElementType("org.apache.commons.scxml.modeling.diagram.Script_3025"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Invoke_2026 = getElementType("org.apache.commons.scxml.modeling.diagram.Invoke_2026"); //$NON-NLS-1$ + public static final IElementType Invoke_3026 = getElementType("org.apache.commons.scxml.modeling.diagram.Invoke_3026"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Finalize_2027 = getElementType("org.apache.commons.scxml.modeling.diagram.Finalize_2027"); //$NON-NLS-1$ + public static final IElementType Finalize_3027 = getElementType("org.apache.commons.scxml.modeling.diagram.Finalize_3027"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Param_2028 = getElementType("org.apache.commons.scxml.modeling.diagram.Param_2028"); //$NON-NLS-1$ + public static final IElementType Param_3028 = getElementType("org.apache.commons.scxml.modeling.diagram.Param_3028"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Content_2029 = getElementType("org.apache.commons.scxml.modeling.diagram.Content_2029"); //$NON-NLS-1$ + public static final IElementType Content_3029 = getElementType("org.apache.commons.scxml.modeling.diagram.Content_3029"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType InitialState_2030 = getElementType("org.apache.commons.scxml.modeling.diagram.InitialState_2030"); //$NON-NLS-1$ + public static final IElementType InitialState_3030 = getElementType("org.apache.commons.scxml.modeling.diagram.InitialState_3030"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType HistoryState_2031 = getElementType("org.apache.commons.scxml.modeling.diagram.HistoryState_2031"); //$NON-NLS-1$ + public static final IElementType HistoryState_3031 = getElementType("org.apache.commons.scxml.modeling.diagram.HistoryState_3031"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Parallel_2032 = getElementType("org.apache.commons.scxml.modeling.diagram.Parallel_2032"); //$NON-NLS-1$ + public static final IElementType Parallel_3032 = getElementType("org.apache.commons.scxml.modeling.diagram.Parallel_3032"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType HistoryState_2033 = getElementType("org.apache.commons.scxml.modeling.diagram.HistoryState_2033"); //$NON-NLS-1$ + public static final IElementType HistoryState_3033 = getElementType("org.apache.commons.scxml.modeling.diagram.HistoryState_3033"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Anchor_2034 = getElementType("org.apache.commons.scxml.modeling.diagram.Anchor_2034"); //$NON-NLS-1$ + public static final IElementType Anchor_3034 = getElementType("org.apache.commons.scxml.modeling.diagram.Anchor_3034"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Parallel_2035 = getElementType("org.apache.commons.scxml.modeling.diagram.Parallel_2035"); //$NON-NLS-1$ + public static final IElementType Parallel_3035 = getElementType("org.apache.commons.scxml.modeling.diagram.Parallel_3035"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType OnEntry_2036 = getElementType("org.apache.commons.scxml.modeling.diagram.OnEntry_2036"); //$NON-NLS-1$ + public static final IElementType OnEntry_3036 = getElementType("org.apache.commons.scxml.modeling.diagram.OnEntry_3036"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType OnExit_2037 = getElementType("org.apache.commons.scxml.modeling.diagram.OnExit_2037"); //$NON-NLS-1$ + public static final IElementType OnExit_3037 = getElementType("org.apache.commons.scxml.modeling.diagram.OnExit_3037"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType State_2038 = getElementType("org.apache.commons.scxml.modeling.diagram.State_2038"); //$NON-NLS-1$ + public static final IElementType State_3038 = getElementType("org.apache.commons.scxml.modeling.diagram.State_3038"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Anchor_2039 = getElementType("org.apache.commons.scxml.modeling.diagram.Anchor_2039"); //$NON-NLS-1$ + public static final IElementType Anchor_3039 = getElementType("org.apache.commons.scxml.modeling.diagram.Anchor_3039"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType FinalState_2040 = getElementType("org.apache.commons.scxml.modeling.diagram.FinalState_2040"); //$NON-NLS-1$ + public static final IElementType FinalState_3040 = getElementType("org.apache.commons.scxml.modeling.diagram.FinalState_3040"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Donedata_2041 = getElementType("org.apache.commons.scxml.modeling.diagram.Donedata_2041"); //$NON-NLS-1$ + public static final IElementType Donedata_3041 = getElementType("org.apache.commons.scxml.modeling.diagram.Donedata_3041"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Param_2042 = getElementType("org.apache.commons.scxml.modeling.diagram.Param_2042"); //$NON-NLS-1$ + public static final IElementType Param_3042 = getElementType("org.apache.commons.scxml.modeling.diagram.Param_3042"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Content_2043 = getElementType("org.apache.commons.scxml.modeling.diagram.Content_2043"); //$NON-NLS-1$ + public static final IElementType Content_3043 = getElementType("org.apache.commons.scxml.modeling.diagram.Content_3043"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType OnEntry_2044 = getElementType("org.apache.commons.scxml.modeling.diagram.OnEntry_2044"); //$NON-NLS-1$ + public static final IElementType OnEntry_3044 = getElementType("org.apache.commons.scxml.modeling.diagram.OnEntry_3044"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType OnExit_2045 = getElementType("org.apache.commons.scxml.modeling.diagram.OnExit_2045"); //$NON-NLS-1$ + public static final IElementType OnExit_3045 = getElementType("org.apache.commons.scxml.modeling.diagram.OnExit_3045"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType State_2046 = getElementType("org.apache.commons.scxml.modeling.diagram.State_2046"); //$NON-NLS-1$ + public static final IElementType State_3046 = getElementType("org.apache.commons.scxml.modeling.diagram.State_3046"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Data_2047 = getElementType("org.apache.commons.scxml.modeling.diagram.Data_2047"); //$NON-NLS-1$ + public static final IElementType Data_3047 = getElementType("org.apache.commons.scxml.modeling.diagram.Data_3047"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Content_2048 = getElementType("org.apache.commons.scxml.modeling.diagram.Content_2048"); //$NON-NLS-1$ + public static final IElementType Content_3048 = getElementType("org.apache.commons.scxml.modeling.diagram.Content_3048"); //$NON-NLS-1$ /** * @generated */ - public static final IElementType Translation_3001 = getElementType("org.apache.commons.scxml.modeling.diagram.Translation_3001"); //$NON-NLS-1$ + public static final IElementType Transition_4001 = getElementType("org.apache.commons.scxml.modeling.diagram.Transition_4001"); //$NON-NLS-1$ /** * @generated @@ -380,133 +396,133 @@ public class ModelingElementTypes extend if (elements == null) { elements = new IdentityHashMap(); - elements.put(ServiceTemplate_79, ModelingPackage.eINSTANCE + elements.put(ServiceTemplate_1000, ModelingPackage.eINSTANCE .getServiceTemplate()); - elements.put(State_1001, ModelingPackage.eINSTANCE.getState()); + elements.put(State_2001, ModelingPackage.eINSTANCE.getState()); - elements.put(InitialState_1002, ModelingPackage.eINSTANCE + elements.put(InitialState_2002, ModelingPackage.eINSTANCE .getInitialState()); - elements.put(Script_1003, ModelingPackage.eINSTANCE.getScript()); + elements.put(Script_2003, ModelingPackage.eINSTANCE.getScript()); elements - .put(Parallel_1004, ModelingPackage.eINSTANCE.getParallel()); + .put(Parallel_2004, ModelingPackage.eINSTANCE.getParallel()); - elements.put(DataModel_1005, ModelingPackage.eINSTANCE + elements.put(DataModel_2005, ModelingPackage.eINSTANCE .getDataModel()); - elements.put(FinalState_1006, ModelingPackage.eINSTANCE + elements.put(FinalState_2006, ModelingPackage.eINSTANCE .getFinalState()); - elements.put(OnEntry_2001, ModelingPackage.eINSTANCE.getOnEntry()); + elements.put(OnEntry_3001, ModelingPackage.eINSTANCE.getOnEntry()); - elements.put(If_2002, ModelingPackage.eINSTANCE.getIf()); + elements.put(If_3002, ModelingPackage.eINSTANCE.getIf()); - elements.put(ElseIf_2003, ModelingPackage.eINSTANCE.getElseIf()); + elements.put(ElseIf_3003, ModelingPackage.eINSTANCE.getElseIf()); - elements.put(Else_2004, ModelingPackage.eINSTANCE.getElse()); + elements.put(Else_3004, ModelingPackage.eINSTANCE.getElse()); - elements.put(Assign_2005, ModelingPackage.eINSTANCE.getAssign()); + elements.put(Assign_3005, ModelingPackage.eINSTANCE.getAssign()); - elements.put(Raise_2006, ModelingPackage.eINSTANCE.getRaise()); + elements.put(Raise_3006, ModelingPackage.eINSTANCE.getRaise()); - elements.put(Log_2007, ModelingPackage.eINSTANCE.getLog()); + elements.put(Log_3007, ModelingPackage.eINSTANCE.getLog()); elements - .put(Validate_2008, ModelingPackage.eINSTANCE.getValidate()); + .put(Validate_3008, ModelingPackage.eINSTANCE.getValidate()); - elements.put(Cancel_2009, ModelingPackage.eINSTANCE.getCancel()); + elements.put(Cancel_3009, ModelingPackage.eINSTANCE.getCancel()); - elements.put(Send_2010, ModelingPackage.eINSTANCE.getSend()); + elements.put(Send_3010, ModelingPackage.eINSTANCE.getSend()); - elements.put(Param_2011, ModelingPackage.eINSTANCE.getParam()); + elements.put(Param_3011, ModelingPackage.eINSTANCE.getParam()); - elements.put(Content_2012, ModelingPackage.eINSTANCE.getContent()); + elements.put(Content_3012, ModelingPackage.eINSTANCE.getContent()); - elements.put(Content_2013, ModelingPackage.eINSTANCE.getContent()); + elements.put(Content_3013, ModelingPackage.eINSTANCE.getContent()); - elements.put(Param_2014, ModelingPackage.eINSTANCE.getParam()); + elements.put(Param_3014, ModelingPackage.eINSTANCE.getParam()); - elements.put(Script_2015, ModelingPackage.eINSTANCE.getScript()); + elements.put(Script_3015, ModelingPackage.eINSTANCE.getScript()); - elements.put(OnExit_2016, ModelingPackage.eINSTANCE.getOnExit()); + elements.put(OnExit_3016, ModelingPackage.eINSTANCE.getOnExit()); - elements.put(If_2017, ModelingPackage.eINSTANCE.getIf()); + elements.put(If_3017, ModelingPackage.eINSTANCE.getIf()); - elements.put(Assign_2018, ModelingPackage.eINSTANCE.getAssign()); + elements.put(Assign_3018, ModelingPackage.eINSTANCE.getAssign()); - elements.put(Raise_2019, ModelingPackage.eINSTANCE.getRaise()); + elements.put(Raise_3019, ModelingPackage.eINSTANCE.getRaise()); - elements.put(Log_2020, ModelingPackage.eINSTANCE.getLog()); + elements.put(Log_3020, ModelingPackage.eINSTANCE.getLog()); elements - .put(Validate_2021, ModelingPackage.eINSTANCE.getValidate()); + .put(Validate_3021, ModelingPackage.eINSTANCE.getValidate()); - elements.put(Cancel_2022, ModelingPackage.eINSTANCE.getCancel()); + elements.put(Cancel_3022, ModelingPackage.eINSTANCE.getCancel()); - elements.put(Param_2023, ModelingPackage.eINSTANCE.getParam()); + elements.put(Param_3023, ModelingPackage.eINSTANCE.getParam()); - elements.put(Send_2024, ModelingPackage.eINSTANCE.getSend()); + elements.put(Send_3024, ModelingPackage.eINSTANCE.getSend()); - elements.put(Script_2025, ModelingPackage.eINSTANCE.getScript()); + elements.put(Script_3025, ModelingPackage.eINSTANCE.getScript()); - elements.put(Invoke_2026, ModelingPackage.eINSTANCE.getInvoke()); + elements.put(Invoke_3026, ModelingPackage.eINSTANCE.getInvoke()); elements - .put(Finalize_2027, ModelingPackage.eINSTANCE.getFinalize()); + .put(Finalize_3027, ModelingPackage.eINSTANCE.getFinalize()); - elements.put(Param_2028, ModelingPackage.eINSTANCE.getParam()); + elements.put(Param_3028, ModelingPackage.eINSTANCE.getParam()); - elements.put(Content_2029, ModelingPackage.eINSTANCE.getContent()); + elements.put(Content_3029, ModelingPackage.eINSTANCE.getContent()); - elements.put(InitialState_2030, ModelingPackage.eINSTANCE + elements.put(InitialState_3030, ModelingPackage.eINSTANCE .getInitialState()); - elements.put(HistoryState_2031, ModelingPackage.eINSTANCE + elements.put(HistoryState_3031, ModelingPackage.eINSTANCE .getHistoryState()); elements - .put(Parallel_2032, ModelingPackage.eINSTANCE.getParallel()); + .put(Parallel_3032, ModelingPackage.eINSTANCE.getParallel()); - elements.put(HistoryState_2033, ModelingPackage.eINSTANCE + elements.put(HistoryState_3033, ModelingPackage.eINSTANCE .getHistoryState()); - elements.put(Anchor_2034, ModelingPackage.eINSTANCE.getAnchor()); + elements.put(Anchor_3034, ModelingPackage.eINSTANCE.getAnchor()); elements - .put(Parallel_2035, ModelingPackage.eINSTANCE.getParallel()); + .put(Parallel_3035, ModelingPackage.eINSTANCE.getParallel()); - elements.put(OnEntry_2036, ModelingPackage.eINSTANCE.getOnEntry()); + elements.put(OnEntry_3036, ModelingPackage.eINSTANCE.getOnEntry()); - elements.put(OnExit_2037, ModelingPackage.eINSTANCE.getOnExit()); + elements.put(OnExit_3037, ModelingPackage.eINSTANCE.getOnExit()); - elements.put(State_2038, ModelingPackage.eINSTANCE.getState()); + elements.put(State_3038, ModelingPackage.eINSTANCE.getState()); - elements.put(Anchor_2039, ModelingPackage.eINSTANCE.getAnchor()); + elements.put(Anchor_3039, ModelingPackage.eINSTANCE.getAnchor()); - elements.put(FinalState_2040, ModelingPackage.eINSTANCE + elements.put(FinalState_3040, ModelingPackage.eINSTANCE .getFinalState()); elements - .put(Donedata_2041, ModelingPackage.eINSTANCE.getDonedata()); + .put(Donedata_3041, ModelingPackage.eINSTANCE.getDonedata()); - elements.put(Param_2042, ModelingPackage.eINSTANCE.getParam()); + elements.put(Param_3042, ModelingPackage.eINSTANCE.getParam()); - elements.put(Content_2043, ModelingPackage.eINSTANCE.getContent()); + elements.put(Content_3043, ModelingPackage.eINSTANCE.getContent()); - elements.put(OnEntry_2044, ModelingPackage.eINSTANCE.getOnEntry()); + elements.put(OnEntry_3044, ModelingPackage.eINSTANCE.getOnEntry()); - elements.put(OnExit_2045, ModelingPackage.eINSTANCE.getOnExit()); + elements.put(OnExit_3045, ModelingPackage.eINSTANCE.getOnExit()); - elements.put(State_2046, ModelingPackage.eINSTANCE.getState()); + elements.put(State_3046, ModelingPackage.eINSTANCE.getState()); - elements.put(Data_2047, ModelingPackage.eINSTANCE.getData()); + elements.put(Data_3047, ModelingPackage.eINSTANCE.getData()); - elements.put(Content_2048, ModelingPackage.eINSTANCE.getContent()); + elements.put(Content_3048, ModelingPackage.eINSTANCE.getContent()); - elements.put(Translation_3001, ModelingPackage.eINSTANCE - .getTranslation()); + elements.put(Transition_4001, ModelingPackage.eINSTANCE + .getTransition()); } return (ENamedElement) elements.get(type); } @@ -524,62 +540,62 @@ public class ModelingElementTypes extend public static boolean isKnownElementType(IElementType elementType) { if (KNOWN_ELEMENT_TYPES == null) { KNOWN_ELEMENT_TYPES = new HashSet(); - KNOWN_ELEMENT_TYPES.add(ServiceTemplate_79); - KNOWN_ELEMENT_TYPES.add(State_1001); - KNOWN_ELEMENT_TYPES.add(InitialState_1002); - KNOWN_ELEMENT_TYPES.add(Script_1003); - KNOWN_ELEMENT_TYPES.add(Parallel_1004); - KNOWN_ELEMENT_TYPES.add(DataModel_1005); - KNOWN_ELEMENT_TYPES.add(FinalState_1006); - KNOWN_ELEMENT_TYPES.add(OnEntry_2001); - KNOWN_ELEMENT_TYPES.add(If_2002); - KNOWN_ELEMENT_TYPES.add(ElseIf_2003); - KNOWN_ELEMENT_TYPES.add(Else_2004); - KNOWN_ELEMENT_TYPES.add(Assign_2005); - KNOWN_ELEMENT_TYPES.add(Raise_2006); - KNOWN_ELEMENT_TYPES.add(Log_2007); - KNOWN_ELEMENT_TYPES.add(Validate_2008); - KNOWN_ELEMENT_TYPES.add(Cancel_2009); - KNOWN_ELEMENT_TYPES.add(Send_2010); - KNOWN_ELEMENT_TYPES.add(Param_2011); - KNOWN_ELEMENT_TYPES.add(Content_2012); - KNOWN_ELEMENT_TYPES.add(Content_2013); - KNOWN_ELEMENT_TYPES.add(Param_2014); - KNOWN_ELEMENT_TYPES.add(Script_2015); - KNOWN_ELEMENT_TYPES.add(OnExit_2016); - KNOWN_ELEMENT_TYPES.add(If_2017); - KNOWN_ELEMENT_TYPES.add(Assign_2018); - KNOWN_ELEMENT_TYPES.add(Raise_2019); - KNOWN_ELEMENT_TYPES.add(Log_2020); - KNOWN_ELEMENT_TYPES.add(Validate_2021); - KNOWN_ELEMENT_TYPES.add(Cancel_2022); - KNOWN_ELEMENT_TYPES.add(Param_2023); - KNOWN_ELEMENT_TYPES.add(Send_2024); - KNOWN_ELEMENT_TYPES.add(Script_2025); - KNOWN_ELEMENT_TYPES.add(Invoke_2026); - KNOWN_ELEMENT_TYPES.add(Finalize_2027); - KNOWN_ELEMENT_TYPES.add(Param_2028); - KNOWN_ELEMENT_TYPES.add(Content_2029); - KNOWN_ELEMENT_TYPES.add(InitialState_2030); - KNOWN_ELEMENT_TYPES.add(HistoryState_2031); - KNOWN_ELEMENT_TYPES.add(Parallel_2032); - KNOWN_ELEMENT_TYPES.add(HistoryState_2033); - KNOWN_ELEMENT_TYPES.add(Anchor_2034); - KNOWN_ELEMENT_TYPES.add(Parallel_2035); - KNOWN_ELEMENT_TYPES.add(OnEntry_2036); - KNOWN_ELEMENT_TYPES.add(OnExit_2037); - KNOWN_ELEMENT_TYPES.add(State_2038); - KNOWN_ELEMENT_TYPES.add(Anchor_2039); - KNOWN_ELEMENT_TYPES.add(FinalState_2040); - KNOWN_ELEMENT_TYPES.add(Donedata_2041); - KNOWN_ELEMENT_TYPES.add(Param_2042); - KNOWN_ELEMENT_TYPES.add(Content_2043); - KNOWN_ELEMENT_TYPES.add(OnEntry_2044); - KNOWN_ELEMENT_TYPES.add(OnExit_2045); - KNOWN_ELEMENT_TYPES.add(State_2046); - KNOWN_ELEMENT_TYPES.add(Data_2047); - KNOWN_ELEMENT_TYPES.add(Content_2048); - KNOWN_ELEMENT_TYPES.add(Translation_3001); + KNOWN_ELEMENT_TYPES.add(ServiceTemplate_1000); + KNOWN_ELEMENT_TYPES.add(State_2001); + KNOWN_ELEMENT_TYPES.add(InitialState_2002); + KNOWN_ELEMENT_TYPES.add(Script_2003); + KNOWN_ELEMENT_TYPES.add(Parallel_2004); + KNOWN_ELEMENT_TYPES.add(DataModel_2005); + KNOWN_ELEMENT_TYPES.add(FinalState_2006); + KNOWN_ELEMENT_TYPES.add(OnEntry_3001); + KNOWN_ELEMENT_TYPES.add(If_3002); + KNOWN_ELEMENT_TYPES.add(ElseIf_3003); + KNOWN_ELEMENT_TYPES.add(Else_3004); + KNOWN_ELEMENT_TYPES.add(Assign_3005); + KNOWN_ELEMENT_TYPES.add(Raise_3006); + KNOWN_ELEMENT_TYPES.add(Log_3007); + KNOWN_ELEMENT_TYPES.add(Validate_3008); + KNOWN_ELEMENT_TYPES.add(Cancel_3009); + KNOWN_ELEMENT_TYPES.add(Send_3010); + KNOWN_ELEMENT_TYPES.add(Param_3011); + KNOWN_ELEMENT_TYPES.add(Content_3012); + KNOWN_ELEMENT_TYPES.add(Content_3013); + KNOWN_ELEMENT_TYPES.add(Param_3014); + KNOWN_ELEMENT_TYPES.add(Script_3015); + KNOWN_ELEMENT_TYPES.add(OnExit_3016); + KNOWN_ELEMENT_TYPES.add(If_3017); + KNOWN_ELEMENT_TYPES.add(Assign_3018); + KNOWN_ELEMENT_TYPES.add(Raise_3019); + KNOWN_ELEMENT_TYPES.add(Log_3020); + KNOWN_ELEMENT_TYPES.add(Validate_3021); + KNOWN_ELEMENT_TYPES.add(Cancel_3022); + KNOWN_ELEMENT_TYPES.add(Param_3023); + KNOWN_ELEMENT_TYPES.add(Send_3024); + KNOWN_ELEMENT_TYPES.add(Script_3025); + KNOWN_ELEMENT_TYPES.add(Invoke_3026); + KNOWN_ELEMENT_TYPES.add(Finalize_3027); + KNOWN_ELEMENT_TYPES.add(Param_3028); + KNOWN_ELEMENT_TYPES.add(Content_3029); + KNOWN_ELEMENT_TYPES.add(InitialState_3030); + KNOWN_ELEMENT_TYPES.add(HistoryState_3031); + KNOWN_ELEMENT_TYPES.add(Parallel_3032); + KNOWN_ELEMENT_TYPES.add(HistoryState_3033); + KNOWN_ELEMENT_TYPES.add(Anchor_3034); + KNOWN_ELEMENT_TYPES.add(Parallel_3035); + KNOWN_ELEMENT_TYPES.add(OnEntry_3036); + KNOWN_ELEMENT_TYPES.add(OnExit_3037); + KNOWN_ELEMENT_TYPES.add(State_3038); + KNOWN_ELEMENT_TYPES.add(Anchor_3039); + KNOWN_ELEMENT_TYPES.add(FinalState_3040); + KNOWN_ELEMENT_TYPES.add(Donedata_3041); + KNOWN_ELEMENT_TYPES.add(Param_3042); + KNOWN_ELEMENT_TYPES.add(Content_3043); + KNOWN_ELEMENT_TYPES.add(OnEntry_3044); + KNOWN_ELEMENT_TYPES.add(OnExit_3045); + KNOWN_ELEMENT_TYPES.add(State_3046); + KNOWN_ELEMENT_TYPES.add(Data_3047); + KNOWN_ELEMENT_TYPES.add(Content_3048); + KNOWN_ELEMENT_TYPES.add(Transition_4001); } return KNOWN_ELEMENT_TYPES.contains(elementType); } Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/providers/ModelingIconProvider.java URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/providers/ModelingIconProvider.java?rev=946887&r1=946886&r2=946887&view=diff ============================================================================== --- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/providers/ModelingIconProvider.java (original) +++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/providers/ModelingIconProvider.java Fri May 21 06:04:54 2010 @@ -1,3 +1,19 @@ +/* + * 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.modeling.diagram.providers; import org.eclipse.core.runtime.IAdaptable; Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/providers/ModelingModelingAssistantProvider.java URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/providers/ModelingModelingAssistantProvider.java?rev=946887&r1=946886&r2=946887&view=diff ============================================================================== --- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/providers/ModelingModelingAssistantProvider.java (original) +++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/providers/ModelingModelingAssistantProvider.java Fri May 21 06:04:54 2010 @@ -1,3 +1,19 @@ +/* + * 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.modeling.diagram.providers; import java.util.ArrayList; @@ -65,245 +81,245 @@ public class ModelingModelingAssistantPr .getAdapter(IGraphicalEditPart.class); if (editPart instanceof IfEditPart) { List types = new ArrayList(); - types.add(ModelingElementTypes.ElseIf_2003); - types.add(ModelingElementTypes.Else_2004); + types.add(ModelingElementTypes.ElseIf_3003); + types.add(ModelingElementTypes.Else_3004); return types; } if (editPart instanceof If2EditPart) { List types = new ArrayList(); - types.add(ModelingElementTypes.ElseIf_2003); - types.add(ModelingElementTypes.Else_2004); + types.add(ModelingElementTypes.ElseIf_3003); + types.add(ModelingElementTypes.Else_3004); return types; } if (editPart instanceof StateStateCompartmentEditPart) { List types = new ArrayList(); - types.add(ModelingElementTypes.OnEntry_2001); - types.add(ModelingElementTypes.OnExit_2016); - types.add(ModelingElementTypes.Invoke_2026); - types.add(ModelingElementTypes.InitialState_2030); - types.add(ModelingElementTypes.HistoryState_2031); - types.add(ModelingElementTypes.Parallel_2032); - types.add(ModelingElementTypes.Anchor_2039); - types.add(ModelingElementTypes.FinalState_2040); - types.add(ModelingElementTypes.State_2046); + types.add(ModelingElementTypes.OnEntry_3001); + types.add(ModelingElementTypes.OnExit_3016); + types.add(ModelingElementTypes.Invoke_3026); + types.add(ModelingElementTypes.InitialState_3030); + types.add(ModelingElementTypes.HistoryState_3031); + types.add(ModelingElementTypes.Parallel_3032); + types.add(ModelingElementTypes.Anchor_3039); + types.add(ModelingElementTypes.FinalState_3040); + types.add(ModelingElementTypes.State_3046); return types; } if (editPart instanceof OnEntryOnEntryCompartmentEditPart) { List types = new ArrayList(); - types.add(ModelingElementTypes.If_2002); - types.add(ModelingElementTypes.Assign_2005); - types.add(ModelingElementTypes.Raise_2006); - types.add(ModelingElementTypes.Log_2007); - types.add(ModelingElementTypes.Validate_2008); - types.add(ModelingElementTypes.Cancel_2009); - types.add(ModelingElementTypes.Send_2010); - types.add(ModelingElementTypes.Param_2014); - types.add(ModelingElementTypes.Script_2015); + types.add(ModelingElementTypes.If_3002); + types.add(ModelingElementTypes.Assign_3005); + types.add(ModelingElementTypes.Raise_3006); + types.add(ModelingElementTypes.Log_3007); + types.add(ModelingElementTypes.Validate_3008); + types.add(ModelingElementTypes.Cancel_3009); + types.add(ModelingElementTypes.Send_3010); + types.add(ModelingElementTypes.Param_3014); + types.add(ModelingElementTypes.Script_3015); return types; } if (editPart instanceof SendSendCompartmentEditPart) { List types = new ArrayList(); - types.add(ModelingElementTypes.Param_2011); - types.add(ModelingElementTypes.Content_2012); + types.add(ModelingElementTypes.Param_3011); + types.add(ModelingElementTypes.Content_3012); return types; } if (editPart instanceof ContentContentCompartmentEditPart) { List types = new ArrayList(); - types.add(ModelingElementTypes.Content_2013); + types.add(ModelingElementTypes.Content_3013); return types; } if (editPart instanceof ContentContentCompartment2EditPart) { List types = new ArrayList(); - types.add(ModelingElementTypes.Content_2013); + types.add(ModelingElementTypes.Content_3013); return types; } if (editPart instanceof OnExitOnExitCompartmentEditPart) { List types = new ArrayList(); - types.add(ModelingElementTypes.If_2017); - types.add(ModelingElementTypes.Assign_2018); - types.add(ModelingElementTypes.Raise_2019); - types.add(ModelingElementTypes.Log_2020); - types.add(ModelingElementTypes.Validate_2021); - types.add(ModelingElementTypes.Cancel_2022); - types.add(ModelingElementTypes.Param_2023); - types.add(ModelingElementTypes.Send_2024); - types.add(ModelingElementTypes.Script_2025); + types.add(ModelingElementTypes.If_3017); + types.add(ModelingElementTypes.Assign_3018); + types.add(ModelingElementTypes.Raise_3019); + types.add(ModelingElementTypes.Log_3020); + types.add(ModelingElementTypes.Validate_3021); + types.add(ModelingElementTypes.Cancel_3022); + types.add(ModelingElementTypes.Param_3023); + types.add(ModelingElementTypes.Send_3024); + types.add(ModelingElementTypes.Script_3025); return types; } if (editPart instanceof SendSendCompartment2EditPart) { List types = new ArrayList(); - types.add(ModelingElementTypes.Param_2011); - types.add(ModelingElementTypes.Content_2012); + types.add(ModelingElementTypes.Param_3011); + types.add(ModelingElementTypes.Content_3012); return types; } if (editPart instanceof InvokeInvokeCompartmentEditPart) { List types = new ArrayList(); - types.add(ModelingElementTypes.Finalize_2027); - types.add(ModelingElementTypes.Param_2028); - types.add(ModelingElementTypes.Content_2029); + types.add(ModelingElementTypes.Finalize_3027); + types.add(ModelingElementTypes.Param_3028); + types.add(ModelingElementTypes.Content_3029); return types; } if (editPart instanceof ContentContentCompartment3EditPart) { List types = new ArrayList(); - types.add(ModelingElementTypes.Content_2013); + types.add(ModelingElementTypes.Content_3013); return types; } if (editPart instanceof ParallelParallelCompartmentEditPart) { List types = new ArrayList(); - types.add(ModelingElementTypes.HistoryState_2033); - types.add(ModelingElementTypes.Anchor_2034); - types.add(ModelingElementTypes.Parallel_2035); - types.add(ModelingElementTypes.OnEntry_2036); - types.add(ModelingElementTypes.OnExit_2037); - types.add(ModelingElementTypes.State_2038); + types.add(ModelingElementTypes.HistoryState_3033); + types.add(ModelingElementTypes.Anchor_3034); + types.add(ModelingElementTypes.Parallel_3035); + types.add(ModelingElementTypes.OnEntry_3036); + types.add(ModelingElementTypes.OnExit_3037); + types.add(ModelingElementTypes.State_3038); return types; } if (editPart instanceof ParallelParallelCompartment2EditPart) { List types = new ArrayList(); - types.add(ModelingElementTypes.HistoryState_2033); - types.add(ModelingElementTypes.Anchor_2034); - types.add(ModelingElementTypes.Parallel_2035); - types.add(ModelingElementTypes.OnEntry_2036); - types.add(ModelingElementTypes.OnExit_2037); - types.add(ModelingElementTypes.State_2038); + types.add(ModelingElementTypes.HistoryState_3033); + types.add(ModelingElementTypes.Anchor_3034); + types.add(ModelingElementTypes.Parallel_3035); + types.add(ModelingElementTypes.OnEntry_3036); + types.add(ModelingElementTypes.OnExit_3037); + types.add(ModelingElementTypes.State_3038); return types; } if (editPart instanceof OnEntryOnEntryCompartment2EditPart) { List types = new ArrayList(); - types.add(ModelingElementTypes.If_2002); - types.add(ModelingElementTypes.Assign_2005); - types.add(ModelingElementTypes.Raise_2006); - types.add(ModelingElementTypes.Log_2007); - types.add(ModelingElementTypes.Validate_2008); - types.add(ModelingElementTypes.Cancel_2009); - types.add(ModelingElementTypes.Send_2010); - types.add(ModelingElementTypes.Param_2014); - types.add(ModelingElementTypes.Script_2015); + types.add(ModelingElementTypes.If_3002); + types.add(ModelingElementTypes.Assign_3005); + types.add(ModelingElementTypes.Raise_3006); + types.add(ModelingElementTypes.Log_3007); + types.add(ModelingElementTypes.Validate_3008); + types.add(ModelingElementTypes.Cancel_3009); + types.add(ModelingElementTypes.Send_3010); + types.add(ModelingElementTypes.Param_3014); + types.add(ModelingElementTypes.Script_3015); return types; } if (editPart instanceof OnExitOnExitCompartment2EditPart) { List types = new ArrayList(); - types.add(ModelingElementTypes.If_2017); - types.add(ModelingElementTypes.Assign_2018); - types.add(ModelingElementTypes.Raise_2019); - types.add(ModelingElementTypes.Log_2020); - types.add(ModelingElementTypes.Validate_2021); - types.add(ModelingElementTypes.Cancel_2022); - types.add(ModelingElementTypes.Param_2023); - types.add(ModelingElementTypes.Send_2024); - types.add(ModelingElementTypes.Script_2025); + types.add(ModelingElementTypes.If_3017); + types.add(ModelingElementTypes.Assign_3018); + types.add(ModelingElementTypes.Raise_3019); + types.add(ModelingElementTypes.Log_3020); + types.add(ModelingElementTypes.Validate_3021); + types.add(ModelingElementTypes.Cancel_3022); + types.add(ModelingElementTypes.Param_3023); + types.add(ModelingElementTypes.Send_3024); + types.add(ModelingElementTypes.Script_3025); return types; } if (editPart instanceof StateStateCompartment2EditPart) { List types = new ArrayList(); - types.add(ModelingElementTypes.OnEntry_2001); - types.add(ModelingElementTypes.OnExit_2016); - types.add(ModelingElementTypes.Invoke_2026); - types.add(ModelingElementTypes.InitialState_2030); - types.add(ModelingElementTypes.HistoryState_2031); - types.add(ModelingElementTypes.Parallel_2032); - types.add(ModelingElementTypes.Anchor_2039); - types.add(ModelingElementTypes.FinalState_2040); - types.add(ModelingElementTypes.State_2046); + types.add(ModelingElementTypes.OnEntry_3001); + types.add(ModelingElementTypes.OnExit_3016); + types.add(ModelingElementTypes.Invoke_3026); + types.add(ModelingElementTypes.InitialState_3030); + types.add(ModelingElementTypes.HistoryState_3031); + types.add(ModelingElementTypes.Parallel_3032); + types.add(ModelingElementTypes.Anchor_3039); + types.add(ModelingElementTypes.FinalState_3040); + types.add(ModelingElementTypes.State_3046); return types; } if (editPart instanceof FinalStateFinalStateCompartmentEditPart) { List types = new ArrayList(); - types.add(ModelingElementTypes.Donedata_2041); - types.add(ModelingElementTypes.OnEntry_2044); - types.add(ModelingElementTypes.OnExit_2045); + types.add(ModelingElementTypes.Donedata_3041); + types.add(ModelingElementTypes.OnEntry_3044); + types.add(ModelingElementTypes.OnExit_3045); return types; } if (editPart instanceof DonedataDonedataCompartmentEditPart) { List types = new ArrayList(); - types.add(ModelingElementTypes.Param_2042); - types.add(ModelingElementTypes.Content_2043); + types.add(ModelingElementTypes.Param_3042); + types.add(ModelingElementTypes.Content_3043); return types; } if (editPart instanceof ContentContentCompartment4EditPart) { List types = new ArrayList(); - types.add(ModelingElementTypes.Content_2013); + types.add(ModelingElementTypes.Content_3013); return types; } if (editPart instanceof OnEntryOnEntryCompartment3EditPart) { List types = new ArrayList(); - types.add(ModelingElementTypes.If_2002); - types.add(ModelingElementTypes.Assign_2005); - types.add(ModelingElementTypes.Raise_2006); - types.add(ModelingElementTypes.Log_2007); - types.add(ModelingElementTypes.Validate_2008); - types.add(ModelingElementTypes.Cancel_2009); - types.add(ModelingElementTypes.Send_2010); - types.add(ModelingElementTypes.Param_2014); - types.add(ModelingElementTypes.Script_2015); + types.add(ModelingElementTypes.If_3002); + types.add(ModelingElementTypes.Assign_3005); + types.add(ModelingElementTypes.Raise_3006); + types.add(ModelingElementTypes.Log_3007); + types.add(ModelingElementTypes.Validate_3008); + types.add(ModelingElementTypes.Cancel_3009); + types.add(ModelingElementTypes.Send_3010); + types.add(ModelingElementTypes.Param_3014); + types.add(ModelingElementTypes.Script_3015); return types; } if (editPart instanceof OnExitOnExitCompartment3EditPart) { List types = new ArrayList(); - types.add(ModelingElementTypes.If_2017); - types.add(ModelingElementTypes.Assign_2018); - types.add(ModelingElementTypes.Raise_2019); - types.add(ModelingElementTypes.Log_2020); - types.add(ModelingElementTypes.Validate_2021); - types.add(ModelingElementTypes.Cancel_2022); - types.add(ModelingElementTypes.Param_2023); - types.add(ModelingElementTypes.Send_2024); - types.add(ModelingElementTypes.Script_2025); + types.add(ModelingElementTypes.If_3017); + types.add(ModelingElementTypes.Assign_3018); + types.add(ModelingElementTypes.Raise_3019); + types.add(ModelingElementTypes.Log_3020); + types.add(ModelingElementTypes.Validate_3021); + types.add(ModelingElementTypes.Cancel_3022); + types.add(ModelingElementTypes.Param_3023); + types.add(ModelingElementTypes.Send_3024); + types.add(ModelingElementTypes.Script_3025); return types; } if (editPart instanceof StateStateCompartment3EditPart) { List types = new ArrayList(); - types.add(ModelingElementTypes.OnEntry_2001); - types.add(ModelingElementTypes.OnExit_2016); - types.add(ModelingElementTypes.Invoke_2026); - types.add(ModelingElementTypes.InitialState_2030); - types.add(ModelingElementTypes.HistoryState_2031); - types.add(ModelingElementTypes.Parallel_2032); - types.add(ModelingElementTypes.Anchor_2039); - types.add(ModelingElementTypes.FinalState_2040); - types.add(ModelingElementTypes.State_2046); + types.add(ModelingElementTypes.OnEntry_3001); + types.add(ModelingElementTypes.OnExit_3016); + types.add(ModelingElementTypes.Invoke_3026); + types.add(ModelingElementTypes.InitialState_3030); + types.add(ModelingElementTypes.HistoryState_3031); + types.add(ModelingElementTypes.Parallel_3032); + types.add(ModelingElementTypes.Anchor_3039); + types.add(ModelingElementTypes.FinalState_3040); + types.add(ModelingElementTypes.State_3046); return types; } if (editPart instanceof ParallelParallelCompartment3EditPart) { List types = new ArrayList(); - types.add(ModelingElementTypes.HistoryState_2033); - types.add(ModelingElementTypes.Anchor_2034); - types.add(ModelingElementTypes.Parallel_2035); - types.add(ModelingElementTypes.OnEntry_2036); - types.add(ModelingElementTypes.OnExit_2037); - types.add(ModelingElementTypes.State_2038); + types.add(ModelingElementTypes.HistoryState_3033); + types.add(ModelingElementTypes.Anchor_3034); + types.add(ModelingElementTypes.Parallel_3035); + types.add(ModelingElementTypes.OnEntry_3036); + types.add(ModelingElementTypes.OnExit_3037); + types.add(ModelingElementTypes.State_3038); return types; } if (editPart instanceof DataModelDataModelCompartmentEditPart) { List types = new ArrayList(); - types.add(ModelingElementTypes.Data_2047); + types.add(ModelingElementTypes.Data_3047); return types; } if (editPart instanceof DataDataCompartmentEditPart) { List types = new ArrayList(); - types.add(ModelingElementTypes.Content_2048); + types.add(ModelingElementTypes.Content_3048); return types; } if (editPart instanceof ContentContentCompartment5EditPart) { List types = new ArrayList(); - types.add(ModelingElementTypes.Content_2013); + types.add(ModelingElementTypes.Content_3013); return types; } if (editPart instanceof FinalStateFinalStateCompartment2EditPart) { List types = new ArrayList(); - types.add(ModelingElementTypes.Donedata_2041); - types.add(ModelingElementTypes.OnEntry_2044); - types.add(ModelingElementTypes.OnExit_2045); + types.add(ModelingElementTypes.Donedata_3041); + types.add(ModelingElementTypes.OnEntry_3044); + types.add(ModelingElementTypes.OnExit_3045); return types; } if (editPart instanceof ServiceTemplateEditPart) { List types = new ArrayList(); - types.add(ModelingElementTypes.State_1001); - types.add(ModelingElementTypes.InitialState_1002); - types.add(ModelingElementTypes.Script_1003); - types.add(ModelingElementTypes.Parallel_1004); - types.add(ModelingElementTypes.DataModel_1005); - types.add(ModelingElementTypes.FinalState_1006); + types.add(ModelingElementTypes.State_2001); + types.add(ModelingElementTypes.InitialState_2002); + types.add(ModelingElementTypes.Script_2003); + types.add(ModelingElementTypes.Parallel_2004); + types.add(ModelingElementTypes.DataModel_2005); + types.add(ModelingElementTypes.FinalState_2006); return types; } return Collections.EMPTY_LIST;