commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gu...@apache.org
Subject svn commit: r946887 [9/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/diagra...
Date Fri, 21 May 2010 06:05:06 GMT
Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/edit/policies/If2ItemSemanticEditPolicy.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/edit/policies/If2ItemSemanticEditPolicy.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/edit/policies/If2ItemSemanticEditPolicy.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/edit/policies/If2ItemSemanticEditPolicy.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.edit.policies;
 
 import java.util.Iterator;

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/edit/policies/IfIfCompartment2CanonicalEditPolicy.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/edit/policies/IfIfCompartment2CanonicalEditPolicy.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/edit/policies/IfIfCompartment2CanonicalEditPolicy.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/edit/policies/IfIfCompartment2CanonicalEditPolicy.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.edit.policies;
 
 import java.util.Collection;
@@ -7,12 +23,12 @@ import java.util.LinkedList;
 import java.util.List;
 import java.util.Set;
 
+import org.apache.commons.scxml.modeling.ModelingPackage;
 import org.apache.commons.scxml.modeling.diagram.edit.parts.ElseEditPart;
 import org.apache.commons.scxml.modeling.diagram.edit.parts.ElseIfEditPart;
 import org.apache.commons.scxml.modeling.diagram.part.ModelingDiagramUpdater;
 import org.apache.commons.scxml.modeling.diagram.part.ModelingNodeDescriptor;
 import org.apache.commons.scxml.modeling.diagram.part.ModelingVisualIDRegistry;
-import org.apache.commons.scxml.modeling.ModelingPackage;
 import org.eclipse.gmf.runtime.diagram.ui.editpolicies.CanonicalEditPolicy;
 import org.eclipse.gmf.runtime.notation.View;
 
@@ -33,7 +49,7 @@ public class IfIfCompartment2CanonicalEd
 		View viewObject = (View) getHost().getModel();
 		List result = new LinkedList();
 		for (Iterator it = ModelingDiagramUpdater
-				.getIfIfCompartment_5008SemanticChildren(viewObject).iterator(); it
+				.getIfIfCompartment_7008SemanticChildren(viewObject).iterator(); it
 				.hasNext();) {
 			result.add(((ModelingNodeDescriptor) it.next()).getModelElement());
 		}

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/edit/policies/IfIfCompartment2ItemSemanticEditPolicy.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/edit/policies/IfIfCompartment2ItemSemanticEditPolicy.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/edit/policies/IfIfCompartment2ItemSemanticEditPolicy.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/edit/policies/IfIfCompartment2ItemSemanticEditPolicy.java Fri May 21 06:04:54 2010
@@ -1,9 +1,25 @@
+/*
+ * 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.edit.policies;
 
+import org.apache.commons.scxml.modeling.ModelingPackage;
 import org.apache.commons.scxml.modeling.diagram.edit.commands.ElseCreateCommand;
 import org.apache.commons.scxml.modeling.diagram.edit.commands.ElseIfCreateCommand;
 import org.apache.commons.scxml.modeling.diagram.providers.ModelingElementTypes;
-import org.apache.commons.scxml.modeling.ModelingPackage;
 import org.eclipse.gef.commands.Command;
 import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest;
 
@@ -17,14 +33,14 @@ public class IfIfCompartment2ItemSemanti
 	 * @generated
 	 */
 	protected Command getCreateCommand(CreateElementRequest req) {
-		if (ModelingElementTypes.ElseIf_2003 == req.getElementType()) {
+		if (ModelingElementTypes.ElseIf_3003 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getIf_Elseif());
 			}
 			return getGEFWrapper(new ElseIfCreateCommand(req));
 		}
-		if (ModelingElementTypes.Else_2004 == req.getElementType()) {
+		if (ModelingElementTypes.Else_3004 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getIf_Else());

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/edit/policies/IfIfCompartmentCanonicalEditPolicy.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/edit/policies/IfIfCompartmentCanonicalEditPolicy.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/edit/policies/IfIfCompartmentCanonicalEditPolicy.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/edit/policies/IfIfCompartmentCanonicalEditPolicy.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.edit.policies;
 
 import java.util.Collection;
@@ -7,12 +23,12 @@ import java.util.LinkedList;
 import java.util.List;
 import java.util.Set;
 
+import org.apache.commons.scxml.modeling.ModelingPackage;
 import org.apache.commons.scxml.modeling.diagram.edit.parts.ElseEditPart;
 import org.apache.commons.scxml.modeling.diagram.edit.parts.ElseIfEditPart;
 import org.apache.commons.scxml.modeling.diagram.part.ModelingDiagramUpdater;
 import org.apache.commons.scxml.modeling.diagram.part.ModelingNodeDescriptor;
 import org.apache.commons.scxml.modeling.diagram.part.ModelingVisualIDRegistry;
-import org.apache.commons.scxml.modeling.ModelingPackage;
 import org.eclipse.gmf.runtime.diagram.ui.editpolicies.CanonicalEditPolicy;
 import org.eclipse.gmf.runtime.notation.View;
 
@@ -33,7 +49,7 @@ public class IfIfCompartmentCanonicalEdi
 		View viewObject = (View) getHost().getModel();
 		List result = new LinkedList();
 		for (Iterator it = ModelingDiagramUpdater
-				.getIfIfCompartment_5003SemanticChildren(viewObject).iterator(); it
+				.getIfIfCompartment_7003SemanticChildren(viewObject).iterator(); it
 				.hasNext();) {
 			result.add(((ModelingNodeDescriptor) it.next()).getModelElement());
 		}

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/edit/policies/IfIfCompartmentItemSemanticEditPolicy.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/edit/policies/IfIfCompartmentItemSemanticEditPolicy.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/edit/policies/IfIfCompartmentItemSemanticEditPolicy.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/edit/policies/IfIfCompartmentItemSemanticEditPolicy.java Fri May 21 06:04:54 2010
@@ -1,9 +1,25 @@
+/*
+ * 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.edit.policies;
 
+import org.apache.commons.scxml.modeling.ModelingPackage;
 import org.apache.commons.scxml.modeling.diagram.edit.commands.ElseCreateCommand;
 import org.apache.commons.scxml.modeling.diagram.edit.commands.ElseIfCreateCommand;
 import org.apache.commons.scxml.modeling.diagram.providers.ModelingElementTypes;
-import org.apache.commons.scxml.modeling.ModelingPackage;
 import org.eclipse.gef.commands.Command;
 import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest;
 
@@ -17,14 +33,14 @@ public class IfIfCompartmentItemSemantic
 	 * @generated
 	 */
 	protected Command getCreateCommand(CreateElementRequest req) {
-		if (ModelingElementTypes.ElseIf_2003 == req.getElementType()) {
+		if (ModelingElementTypes.ElseIf_3003 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getIf_Elseif());
 			}
 			return getGEFWrapper(new ElseIfCreateCommand(req));
 		}
-		if (ModelingElementTypes.Else_2004 == req.getElementType()) {
+		if (ModelingElementTypes.Else_3004 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getIf_Else());

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/edit/policies/IfItemSemanticEditPolicy.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/edit/policies/IfItemSemanticEditPolicy.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/edit/policies/IfItemSemanticEditPolicy.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/edit/policies/IfItemSemanticEditPolicy.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.edit.policies;
 
 import java.util.Iterator;

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/edit/policies/InitialState2ItemSemanticEditPolicy.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/edit/policies/InitialState2ItemSemanticEditPolicy.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/edit/policies/InitialState2ItemSemanticEditPolicy.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/edit/policies/InitialState2ItemSemanticEditPolicy.java Fri May 21 06:04:54 2010
@@ -1,8 +1,24 @@
+/*
+ * 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.edit.policies;
 
-import org.apache.commons.scxml.modeling.diagram.edit.commands.TranslationCreateCommand;
-import org.apache.commons.scxml.modeling.diagram.edit.commands.TranslationReorientCommand;
-import org.apache.commons.scxml.modeling.diagram.edit.parts.TranslationEditPart;
+import org.apache.commons.scxml.modeling.diagram.edit.commands.TransitionCreateCommand;
+import org.apache.commons.scxml.modeling.diagram.edit.commands.TransitionReorientCommand;
+import org.apache.commons.scxml.modeling.diagram.edit.parts.TransitionEditPart;
 import org.apache.commons.scxml.modeling.diagram.providers.ModelingElementTypes;
 import org.eclipse.gef.commands.Command;
 import org.eclipse.gef.commands.CompoundCommand;
@@ -42,8 +58,8 @@ public class InitialState2ItemSemanticEd
 	 */
 	protected Command getStartCreateRelationshipCommand(
 			CreateRelationshipRequest req) {
-		if (ModelingElementTypes.Translation_3001 == req.getElementType()) {
-			return getGEFWrapper(new TranslationCreateCommand(req, req
+		if (ModelingElementTypes.Transition_4001 == req.getElementType()) {
+			return getGEFWrapper(new TransitionCreateCommand(req, req
 					.getSource(), req.getTarget()));
 		}
 		return null;
@@ -54,8 +70,8 @@ public class InitialState2ItemSemanticEd
 	 */
 	protected Command getCompleteCreateRelationshipCommand(
 			CreateRelationshipRequest req) {
-		if (ModelingElementTypes.Translation_3001 == req.getElementType()) {
-			return getGEFWrapper(new TranslationCreateCommand(req, req
+		if (ModelingElementTypes.Transition_4001 == req.getElementType()) {
+			return getGEFWrapper(new TransitionCreateCommand(req, req
 					.getSource(), req.getTarget()));
 		}
 		return null;
@@ -70,8 +86,8 @@ public class InitialState2ItemSemanticEd
 	protected Command getReorientRelationshipCommand(
 			ReorientRelationshipRequest req) {
 		switch (getVisualID(req)) {
-		case TranslationEditPart.VISUAL_ID:
-			return getGEFWrapper(new TranslationReorientCommand(req));
+		case TransitionEditPart.VISUAL_ID:
+			return getGEFWrapper(new TransitionReorientCommand(req));
 		}
 		return super.getReorientRelationshipCommand(req);
 	}

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/edit/policies/InitialStateItemSemanticEditPolicy.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/edit/policies/InitialStateItemSemanticEditPolicy.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/edit/policies/InitialStateItemSemanticEditPolicy.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/edit/policies/InitialStateItemSemanticEditPolicy.java Fri May 21 06:04:54 2010
@@ -1,8 +1,24 @@
+/*
+ * 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.edit.policies;
 
-import org.apache.commons.scxml.modeling.diagram.edit.commands.TranslationCreateCommand;
-import org.apache.commons.scxml.modeling.diagram.edit.commands.TranslationReorientCommand;
-import org.apache.commons.scxml.modeling.diagram.edit.parts.TranslationEditPart;
+import org.apache.commons.scxml.modeling.diagram.edit.commands.TransitionCreateCommand;
+import org.apache.commons.scxml.modeling.diagram.edit.commands.TransitionReorientCommand;
+import org.apache.commons.scxml.modeling.diagram.edit.parts.TransitionEditPart;
 import org.apache.commons.scxml.modeling.diagram.providers.ModelingElementTypes;
 import org.eclipse.gef.commands.Command;
 import org.eclipse.gef.commands.CompoundCommand;
@@ -47,8 +63,8 @@ public class InitialStateItemSemanticEdi
 	 */
 	protected Command getStartCreateRelationshipCommand(
 			CreateRelationshipRequest req) {
-		if (ModelingElementTypes.Translation_3001 == req.getElementType()) {
-			return getGEFWrapper(new TranslationCreateCommand(req, req
+		if (ModelingElementTypes.Transition_4001 == req.getElementType()) {
+			return getGEFWrapper(new TransitionCreateCommand(req, req
 					.getSource(), req.getTarget()));
 		}
 		return null;
@@ -59,8 +75,8 @@ public class InitialStateItemSemanticEdi
 	 */
 	protected Command getCompleteCreateRelationshipCommand(
 			CreateRelationshipRequest req) {
-		if (ModelingElementTypes.Translation_3001 == req.getElementType()) {
-			return getGEFWrapper(new TranslationCreateCommand(req, req
+		if (ModelingElementTypes.Transition_4001 == req.getElementType()) {
+			return getGEFWrapper(new TransitionCreateCommand(req, req
 					.getSource(), req.getTarget()));
 		}
 		return null;
@@ -75,8 +91,8 @@ public class InitialStateItemSemanticEdi
 	protected Command getReorientRelationshipCommand(
 			ReorientRelationshipRequest req) {
 		switch (getVisualID(req)) {
-		case TranslationEditPart.VISUAL_ID:
-			return getGEFWrapper(new TranslationReorientCommand(req));
+		case TransitionEditPart.VISUAL_ID:
+			return getGEFWrapper(new TransitionReorientCommand(req));
 		}
 		return super.getReorientRelationshipCommand(req);
 	}

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/edit/policies/InvokeInvokeCompartmentCanonicalEditPolicy.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/edit/policies/InvokeInvokeCompartmentCanonicalEditPolicy.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/edit/policies/InvokeInvokeCompartmentCanonicalEditPolicy.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/edit/policies/InvokeInvokeCompartmentCanonicalEditPolicy.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.edit.policies;
 
 import java.util.Collection;
@@ -7,13 +23,13 @@ import java.util.LinkedList;
 import java.util.List;
 import java.util.Set;
 
+import org.apache.commons.scxml.modeling.ModelingPackage;
 import org.apache.commons.scxml.modeling.diagram.edit.parts.Content3EditPart;
 import org.apache.commons.scxml.modeling.diagram.edit.parts.FinalizeEditPart;
 import org.apache.commons.scxml.modeling.diagram.edit.parts.Param4EditPart;
 import org.apache.commons.scxml.modeling.diagram.part.ModelingDiagramUpdater;
 import org.apache.commons.scxml.modeling.diagram.part.ModelingNodeDescriptor;
 import org.apache.commons.scxml.modeling.diagram.part.ModelingVisualIDRegistry;
-import org.apache.commons.scxml.modeling.ModelingPackage;
 import org.eclipse.gmf.runtime.diagram.ui.editpolicies.CanonicalEditPolicy;
 import org.eclipse.gmf.runtime.notation.View;
 
@@ -35,7 +51,7 @@ public class InvokeInvokeCompartmentCano
 		View viewObject = (View) getHost().getModel();
 		List result = new LinkedList();
 		for (Iterator it = ModelingDiagramUpdater
-				.getInvokeInvokeCompartment_5010SemanticChildren(viewObject)
+				.getInvokeInvokeCompartment_7010SemanticChildren(viewObject)
 				.iterator(); it.hasNext();) {
 			result.add(((ModelingNodeDescriptor) it.next()).getModelElement());
 		}

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/edit/policies/InvokeInvokeCompartmentItemSemanticEditPolicy.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/edit/policies/InvokeInvokeCompartmentItemSemanticEditPolicy.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/edit/policies/InvokeInvokeCompartmentItemSemanticEditPolicy.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/edit/policies/InvokeInvokeCompartmentItemSemanticEditPolicy.java Fri May 21 06:04:54 2010
@@ -1,10 +1,26 @@
+/*
+ * 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.edit.policies;
 
+import org.apache.commons.scxml.modeling.ModelingPackage;
 import org.apache.commons.scxml.modeling.diagram.edit.commands.Content3CreateCommand;
 import org.apache.commons.scxml.modeling.diagram.edit.commands.FinalizeCreateCommand;
 import org.apache.commons.scxml.modeling.diagram.edit.commands.Param4CreateCommand;
 import org.apache.commons.scxml.modeling.diagram.providers.ModelingElementTypes;
-import org.apache.commons.scxml.modeling.ModelingPackage;
 import org.eclipse.gef.commands.Command;
 import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest;
 
@@ -18,21 +34,21 @@ public class InvokeInvokeCompartmentItem
 	 * @generated
 	 */
 	protected Command getCreateCommand(CreateElementRequest req) {
-		if (ModelingElementTypes.Finalize_2027 == req.getElementType()) {
+		if (ModelingElementTypes.Finalize_3027 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getInvoke_Finalize());
 			}
 			return getGEFWrapper(new FinalizeCreateCommand(req));
 		}
-		if (ModelingElementTypes.Param_2028 == req.getElementType()) {
+		if (ModelingElementTypes.Param_3028 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getInvoke_Param());
 			}
 			return getGEFWrapper(new Param4CreateCommand(req));
 		}
-		if (ModelingElementTypes.Content_2029 == req.getElementType()) {
+		if (ModelingElementTypes.Content_3029 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getInvoke_Content());

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/edit/policies/InvokeItemSemanticEditPolicy.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/edit/policies/InvokeItemSemanticEditPolicy.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/edit/policies/InvokeItemSemanticEditPolicy.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/edit/policies/InvokeItemSemanticEditPolicy.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.edit.policies;
 
 import java.util.Iterator;

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/edit/policies/Log2ItemSemanticEditPolicy.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/edit/policies/Log2ItemSemanticEditPolicy.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/edit/policies/Log2ItemSemanticEditPolicy.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/edit/policies/Log2ItemSemanticEditPolicy.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.edit.policies;
 
 import org.eclipse.gef.commands.Command;

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/edit/policies/LogItemSemanticEditPolicy.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/edit/policies/LogItemSemanticEditPolicy.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/edit/policies/LogItemSemanticEditPolicy.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/edit/policies/LogItemSemanticEditPolicy.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.edit.policies;
 
 import org.eclipse.gef.commands.Command;

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/edit/policies/ModelingBaseItemSemanticEditPolicy.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/edit/policies/ModelingBaseItemSemanticEditPolicy.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/edit/policies/ModelingBaseItemSemanticEditPolicy.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/edit/policies/ModelingBaseItemSemanticEditPolicy.java Fri May 21 06:04:54 2010
@@ -1,11 +1,27 @@
+/*
+ * 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.edit.policies;
 
 import java.util.Collections;
 import java.util.Iterator;
 
+import org.apache.commons.scxml.modeling.NamedElement;
 import org.apache.commons.scxml.modeling.diagram.edit.helpers.ModelingBaseEditHelper;
 import org.apache.commons.scxml.modeling.diagram.part.ModelingVisualIDRegistry;
-import org.apache.commons.scxml.modeling.NamedElement;
 import org.eclipse.emf.ecore.EObject;
 import org.eclipse.emf.transaction.TransactionalEditingDomain;
 import org.eclipse.gef.EditPart;
@@ -345,15 +361,15 @@ public class ModelingBaseItemSemanticEdi
 		/**
 		 * @generated
 		 */
-		public static boolean canCreateTranslation_3001(NamedElement source,
+		public static boolean canCreateTransition_4001(NamedElement source,
 				NamedElement target) {
-			return canExistTranslation_3001(source, target);
+			return canExistTransition_4001(source, target);
 		}
 
 		/**
 		 * @generated
 		 */
-		public static boolean canExistTranslation_3001(NamedElement source,
+		public static boolean canExistTransition_4001(NamedElement source,
 				NamedElement target) {
 
 			return true;

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/edit/policies/ModelingTextNonResizableEditPolicy.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/edit/policies/ModelingTextNonResizableEditPolicy.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/edit/policies/ModelingTextNonResizableEditPolicy.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/edit/policies/ModelingTextNonResizableEditPolicy.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.edit.policies;
 
 import java.util.Collections;

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/edit/policies/ModelingTextSelectionEditPolicy.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/edit/policies/ModelingTextSelectionEditPolicy.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/edit/policies/ModelingTextSelectionEditPolicy.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/edit/policies/ModelingTextSelectionEditPolicy.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.edit.policies;
 
 import org.eclipse.draw2d.ColorConstants;

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/edit/policies/OnEntry2ItemSemanticEditPolicy.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/edit/policies/OnEntry2ItemSemanticEditPolicy.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/edit/policies/OnEntry2ItemSemanticEditPolicy.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/edit/policies/OnEntry2ItemSemanticEditPolicy.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.edit.policies;
 
 import java.util.Iterator;

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/edit/policies/OnEntry3ItemSemanticEditPolicy.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/edit/policies/OnEntry3ItemSemanticEditPolicy.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/edit/policies/OnEntry3ItemSemanticEditPolicy.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/edit/policies/OnEntry3ItemSemanticEditPolicy.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.edit.policies;
 
 import java.util.Iterator;

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/edit/policies/OnEntryItemSemanticEditPolicy.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/edit/policies/OnEntryItemSemanticEditPolicy.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/edit/policies/OnEntryItemSemanticEditPolicy.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/edit/policies/OnEntryItemSemanticEditPolicy.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.edit.policies;
 
 import java.util.Iterator;

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/edit/policies/OnEntryOnEntryCompartment2CanonicalEditPolicy.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/edit/policies/OnEntryOnEntryCompartment2CanonicalEditPolicy.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/edit/policies/OnEntryOnEntryCompartment2CanonicalEditPolicy.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/edit/policies/OnEntryOnEntryCompartment2CanonicalEditPolicy.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.edit.policies;
 
 import java.util.Collection;
@@ -7,6 +23,7 @@ import java.util.LinkedList;
 import java.util.List;
 import java.util.Set;
 
+import org.apache.commons.scxml.modeling.ModelingPackage;
 import org.apache.commons.scxml.modeling.diagram.edit.parts.AssignEditPart;
 import org.apache.commons.scxml.modeling.diagram.edit.parts.CancelEditPart;
 import org.apache.commons.scxml.modeling.diagram.edit.parts.IfEditPart;
@@ -19,7 +36,6 @@ import org.apache.commons.scxml.modeling
 import org.apache.commons.scxml.modeling.diagram.part.ModelingDiagramUpdater;
 import org.apache.commons.scxml.modeling.diagram.part.ModelingNodeDescriptor;
 import org.apache.commons.scxml.modeling.diagram.part.ModelingVisualIDRegistry;
-import org.apache.commons.scxml.modeling.ModelingPackage;
 import org.eclipse.gmf.runtime.diagram.ui.editpolicies.CanonicalEditPolicy;
 import org.eclipse.gmf.runtime.notation.View;
 
@@ -41,7 +57,7 @@ public class OnEntryOnEntryCompartment2C
 		View viewObject = (View) getHost().getModel();
 		List result = new LinkedList();
 		for (Iterator it = ModelingDiagramUpdater
-				.getOnEntryOnEntryCompartment_5014SemanticChildren(viewObject)
+				.getOnEntryOnEntryCompartment_7014SemanticChildren(viewObject)
 				.iterator(); it.hasNext();) {
 			result.add(((ModelingNodeDescriptor) it.next()).getModelElement());
 		}

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/edit/policies/OnEntryOnEntryCompartment2ItemSemanticEditPolicy.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/edit/policies/OnEntryOnEntryCompartment2ItemSemanticEditPolicy.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/edit/policies/OnEntryOnEntryCompartment2ItemSemanticEditPolicy.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/edit/policies/OnEntryOnEntryCompartment2ItemSemanticEditPolicy.java Fri May 21 06:04:54 2010
@@ -1,5 +1,22 @@
+/*
+ * 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.edit.policies;
 
+import org.apache.commons.scxml.modeling.ModelingPackage;
 import org.apache.commons.scxml.modeling.diagram.edit.commands.AssignCreateCommand;
 import org.apache.commons.scxml.modeling.diagram.edit.commands.CancelCreateCommand;
 import org.apache.commons.scxml.modeling.diagram.edit.commands.IfCreateCommand;
@@ -10,7 +27,6 @@ import org.apache.commons.scxml.modeling
 import org.apache.commons.scxml.modeling.diagram.edit.commands.SendCreateCommand;
 import org.apache.commons.scxml.modeling.diagram.edit.commands.ValidateCreateCommand;
 import org.apache.commons.scxml.modeling.diagram.providers.ModelingElementTypes;
-import org.apache.commons.scxml.modeling.ModelingPackage;
 import org.eclipse.gef.commands.Command;
 import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest;
 
@@ -24,63 +40,63 @@ public class OnEntryOnEntryCompartment2I
 	 * @generated
 	 */
 	protected Command getCreateCommand(CreateElementRequest req) {
-		if (ModelingElementTypes.If_2002 == req.getElementType()) {
+		if (ModelingElementTypes.If_3002 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getOnEntry_ExecutableContext());
 			}
 			return getGEFWrapper(new IfCreateCommand(req));
 		}
-		if (ModelingElementTypes.Assign_2005 == req.getElementType()) {
+		if (ModelingElementTypes.Assign_3005 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getOnEntry_ExecutableContext());
 			}
 			return getGEFWrapper(new AssignCreateCommand(req));
 		}
-		if (ModelingElementTypes.Raise_2006 == req.getElementType()) {
+		if (ModelingElementTypes.Raise_3006 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getOnEntry_ExecutableContext());
 			}
 			return getGEFWrapper(new RaiseCreateCommand(req));
 		}
-		if (ModelingElementTypes.Log_2007 == req.getElementType()) {
+		if (ModelingElementTypes.Log_3007 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getOnEntry_ExecutableContext());
 			}
 			return getGEFWrapper(new LogCreateCommand(req));
 		}
-		if (ModelingElementTypes.Validate_2008 == req.getElementType()) {
+		if (ModelingElementTypes.Validate_3008 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getOnEntry_ExecutableContext());
 			}
 			return getGEFWrapper(new ValidateCreateCommand(req));
 		}
-		if (ModelingElementTypes.Cancel_2009 == req.getElementType()) {
+		if (ModelingElementTypes.Cancel_3009 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getOnEntry_ExecutableContext());
 			}
 			return getGEFWrapper(new CancelCreateCommand(req));
 		}
-		if (ModelingElementTypes.Send_2010 == req.getElementType()) {
+		if (ModelingElementTypes.Send_3010 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getOnEntry_ExecutableContext());
 			}
 			return getGEFWrapper(new SendCreateCommand(req));
 		}
-		if (ModelingElementTypes.Param_2014 == req.getElementType()) {
+		if (ModelingElementTypes.Param_3014 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getOnEntry_ExecutableContext());
 			}
 			return getGEFWrapper(new Param2CreateCommand(req));
 		}
-		if (ModelingElementTypes.Script_2015 == req.getElementType()) {
+		if (ModelingElementTypes.Script_3015 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getOnEntry_Script());

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/edit/policies/OnEntryOnEntryCompartment3CanonicalEditPolicy.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/edit/policies/OnEntryOnEntryCompartment3CanonicalEditPolicy.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/edit/policies/OnEntryOnEntryCompartment3CanonicalEditPolicy.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/edit/policies/OnEntryOnEntryCompartment3CanonicalEditPolicy.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.edit.policies;
 
 import java.util.Collection;
@@ -7,6 +23,7 @@ import java.util.LinkedList;
 import java.util.List;
 import java.util.Set;
 
+import org.apache.commons.scxml.modeling.ModelingPackage;
 import org.apache.commons.scxml.modeling.diagram.edit.parts.AssignEditPart;
 import org.apache.commons.scxml.modeling.diagram.edit.parts.CancelEditPart;
 import org.apache.commons.scxml.modeling.diagram.edit.parts.IfEditPart;
@@ -19,7 +36,6 @@ import org.apache.commons.scxml.modeling
 import org.apache.commons.scxml.modeling.diagram.part.ModelingDiagramUpdater;
 import org.apache.commons.scxml.modeling.diagram.part.ModelingNodeDescriptor;
 import org.apache.commons.scxml.modeling.diagram.part.ModelingVisualIDRegistry;
-import org.apache.commons.scxml.modeling.ModelingPackage;
 import org.eclipse.gmf.runtime.diagram.ui.editpolicies.CanonicalEditPolicy;
 import org.eclipse.gmf.runtime.notation.View;
 
@@ -41,7 +57,7 @@ public class OnEntryOnEntryCompartment3C
 		View viewObject = (View) getHost().getModel();
 		List result = new LinkedList();
 		for (Iterator it = ModelingDiagramUpdater
-				.getOnEntryOnEntryCompartment_5020SemanticChildren(viewObject)
+				.getOnEntryOnEntryCompartment_7020SemanticChildren(viewObject)
 				.iterator(); it.hasNext();) {
 			result.add(((ModelingNodeDescriptor) it.next()).getModelElement());
 		}

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/edit/policies/OnEntryOnEntryCompartment3ItemSemanticEditPolicy.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/edit/policies/OnEntryOnEntryCompartment3ItemSemanticEditPolicy.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/edit/policies/OnEntryOnEntryCompartment3ItemSemanticEditPolicy.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/edit/policies/OnEntryOnEntryCompartment3ItemSemanticEditPolicy.java Fri May 21 06:04:54 2010
@@ -1,5 +1,22 @@
+/*
+ * 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.edit.policies;
 
+import org.apache.commons.scxml.modeling.ModelingPackage;
 import org.apache.commons.scxml.modeling.diagram.edit.commands.AssignCreateCommand;
 import org.apache.commons.scxml.modeling.diagram.edit.commands.CancelCreateCommand;
 import org.apache.commons.scxml.modeling.diagram.edit.commands.IfCreateCommand;
@@ -10,7 +27,6 @@ import org.apache.commons.scxml.modeling
 import org.apache.commons.scxml.modeling.diagram.edit.commands.SendCreateCommand;
 import org.apache.commons.scxml.modeling.diagram.edit.commands.ValidateCreateCommand;
 import org.apache.commons.scxml.modeling.diagram.providers.ModelingElementTypes;
-import org.apache.commons.scxml.modeling.ModelingPackage;
 import org.eclipse.gef.commands.Command;
 import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest;
 
@@ -24,63 +40,63 @@ public class OnEntryOnEntryCompartment3I
 	 * @generated
 	 */
 	protected Command getCreateCommand(CreateElementRequest req) {
-		if (ModelingElementTypes.If_2002 == req.getElementType()) {
+		if (ModelingElementTypes.If_3002 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getOnEntry_ExecutableContext());
 			}
 			return getGEFWrapper(new IfCreateCommand(req));
 		}
-		if (ModelingElementTypes.Assign_2005 == req.getElementType()) {
+		if (ModelingElementTypes.Assign_3005 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getOnEntry_ExecutableContext());
 			}
 			return getGEFWrapper(new AssignCreateCommand(req));
 		}
-		if (ModelingElementTypes.Raise_2006 == req.getElementType()) {
+		if (ModelingElementTypes.Raise_3006 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getOnEntry_ExecutableContext());
 			}
 			return getGEFWrapper(new RaiseCreateCommand(req));
 		}
-		if (ModelingElementTypes.Log_2007 == req.getElementType()) {
+		if (ModelingElementTypes.Log_3007 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getOnEntry_ExecutableContext());
 			}
 			return getGEFWrapper(new LogCreateCommand(req));
 		}
-		if (ModelingElementTypes.Validate_2008 == req.getElementType()) {
+		if (ModelingElementTypes.Validate_3008 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getOnEntry_ExecutableContext());
 			}
 			return getGEFWrapper(new ValidateCreateCommand(req));
 		}
-		if (ModelingElementTypes.Cancel_2009 == req.getElementType()) {
+		if (ModelingElementTypes.Cancel_3009 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getOnEntry_ExecutableContext());
 			}
 			return getGEFWrapper(new CancelCreateCommand(req));
 		}
-		if (ModelingElementTypes.Send_2010 == req.getElementType()) {
+		if (ModelingElementTypes.Send_3010 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getOnEntry_ExecutableContext());
 			}
 			return getGEFWrapper(new SendCreateCommand(req));
 		}
-		if (ModelingElementTypes.Param_2014 == req.getElementType()) {
+		if (ModelingElementTypes.Param_3014 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getOnEntry_ExecutableContext());
 			}
 			return getGEFWrapper(new Param2CreateCommand(req));
 		}
-		if (ModelingElementTypes.Script_2015 == req.getElementType()) {
+		if (ModelingElementTypes.Script_3015 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getOnEntry_Script());

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/edit/policies/OnEntryOnEntryCompartmentCanonicalEditPolicy.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/edit/policies/OnEntryOnEntryCompartmentCanonicalEditPolicy.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/edit/policies/OnEntryOnEntryCompartmentCanonicalEditPolicy.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/edit/policies/OnEntryOnEntryCompartmentCanonicalEditPolicy.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.edit.policies;
 
 import java.util.Collection;
@@ -7,6 +23,7 @@ import java.util.LinkedList;
 import java.util.List;
 import java.util.Set;
 
+import org.apache.commons.scxml.modeling.ModelingPackage;
 import org.apache.commons.scxml.modeling.diagram.edit.parts.AssignEditPart;
 import org.apache.commons.scxml.modeling.diagram.edit.parts.CancelEditPart;
 import org.apache.commons.scxml.modeling.diagram.edit.parts.IfEditPart;
@@ -19,7 +36,6 @@ import org.apache.commons.scxml.modeling
 import org.apache.commons.scxml.modeling.diagram.part.ModelingDiagramUpdater;
 import org.apache.commons.scxml.modeling.diagram.part.ModelingNodeDescriptor;
 import org.apache.commons.scxml.modeling.diagram.part.ModelingVisualIDRegistry;
-import org.apache.commons.scxml.modeling.ModelingPackage;
 import org.eclipse.gmf.runtime.diagram.ui.editpolicies.CanonicalEditPolicy;
 import org.eclipse.gmf.runtime.notation.View;
 
@@ -41,7 +57,7 @@ public class OnEntryOnEntryCompartmentCa
 		View viewObject = (View) getHost().getModel();
 		List result = new LinkedList();
 		for (Iterator it = ModelingDiagramUpdater
-				.getOnEntryOnEntryCompartment_5002SemanticChildren(viewObject)
+				.getOnEntryOnEntryCompartment_7002SemanticChildren(viewObject)
 				.iterator(); it.hasNext();) {
 			result.add(((ModelingNodeDescriptor) it.next()).getModelElement());
 		}

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/edit/policies/OnEntryOnEntryCompartmentItemSemanticEditPolicy.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/edit/policies/OnEntryOnEntryCompartmentItemSemanticEditPolicy.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/edit/policies/OnEntryOnEntryCompartmentItemSemanticEditPolicy.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/edit/policies/OnEntryOnEntryCompartmentItemSemanticEditPolicy.java Fri May 21 06:04:54 2010
@@ -1,5 +1,22 @@
+/*
+ * 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.edit.policies;
 
+import org.apache.commons.scxml.modeling.ModelingPackage;
 import org.apache.commons.scxml.modeling.diagram.edit.commands.AssignCreateCommand;
 import org.apache.commons.scxml.modeling.diagram.edit.commands.CancelCreateCommand;
 import org.apache.commons.scxml.modeling.diagram.edit.commands.IfCreateCommand;
@@ -10,7 +27,6 @@ import org.apache.commons.scxml.modeling
 import org.apache.commons.scxml.modeling.diagram.edit.commands.SendCreateCommand;
 import org.apache.commons.scxml.modeling.diagram.edit.commands.ValidateCreateCommand;
 import org.apache.commons.scxml.modeling.diagram.providers.ModelingElementTypes;
-import org.apache.commons.scxml.modeling.ModelingPackage;
 import org.eclipse.gef.commands.Command;
 import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest;
 
@@ -24,63 +40,63 @@ public class OnEntryOnEntryCompartmentIt
 	 * @generated
 	 */
 	protected Command getCreateCommand(CreateElementRequest req) {
-		if (ModelingElementTypes.If_2002 == req.getElementType()) {
+		if (ModelingElementTypes.If_3002 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getOnEntry_ExecutableContext());
 			}
 			return getGEFWrapper(new IfCreateCommand(req));
 		}
-		if (ModelingElementTypes.Assign_2005 == req.getElementType()) {
+		if (ModelingElementTypes.Assign_3005 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getOnEntry_ExecutableContext());
 			}
 			return getGEFWrapper(new AssignCreateCommand(req));
 		}
-		if (ModelingElementTypes.Raise_2006 == req.getElementType()) {
+		if (ModelingElementTypes.Raise_3006 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getOnEntry_ExecutableContext());
 			}
 			return getGEFWrapper(new RaiseCreateCommand(req));
 		}
-		if (ModelingElementTypes.Log_2007 == req.getElementType()) {
+		if (ModelingElementTypes.Log_3007 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getOnEntry_ExecutableContext());
 			}
 			return getGEFWrapper(new LogCreateCommand(req));
 		}
-		if (ModelingElementTypes.Validate_2008 == req.getElementType()) {
+		if (ModelingElementTypes.Validate_3008 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getOnEntry_ExecutableContext());
 			}
 			return getGEFWrapper(new ValidateCreateCommand(req));
 		}
-		if (ModelingElementTypes.Cancel_2009 == req.getElementType()) {
+		if (ModelingElementTypes.Cancel_3009 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getOnEntry_ExecutableContext());
 			}
 			return getGEFWrapper(new CancelCreateCommand(req));
 		}
-		if (ModelingElementTypes.Send_2010 == req.getElementType()) {
+		if (ModelingElementTypes.Send_3010 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getOnEntry_ExecutableContext());
 			}
 			return getGEFWrapper(new SendCreateCommand(req));
 		}
-		if (ModelingElementTypes.Param_2014 == req.getElementType()) {
+		if (ModelingElementTypes.Param_3014 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getOnEntry_ExecutableContext());
 			}
 			return getGEFWrapper(new Param2CreateCommand(req));
 		}
-		if (ModelingElementTypes.Script_2015 == req.getElementType()) {
+		if (ModelingElementTypes.Script_3015 == req.getElementType()) {
 			if (req.getContainmentFeature() == null) {
 				req.setContainmentFeature(ModelingPackage.eINSTANCE
 						.getOnEntry_Script());

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/edit/policies/OnExit2ItemSemanticEditPolicy.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/edit/policies/OnExit2ItemSemanticEditPolicy.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/edit/policies/OnExit2ItemSemanticEditPolicy.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/edit/policies/OnExit2ItemSemanticEditPolicy.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.edit.policies;
 
 import java.util.Iterator;

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/edit/policies/OnExit3ItemSemanticEditPolicy.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/edit/policies/OnExit3ItemSemanticEditPolicy.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/edit/policies/OnExit3ItemSemanticEditPolicy.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/edit/policies/OnExit3ItemSemanticEditPolicy.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.edit.policies;
 
 import java.util.Iterator;

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/edit/policies/OnExitItemSemanticEditPolicy.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/edit/policies/OnExitItemSemanticEditPolicy.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/edit/policies/OnExitItemSemanticEditPolicy.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/edit/policies/OnExitItemSemanticEditPolicy.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.edit.policies;
 
 import java.util.Iterator;

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.diagram/src/org/apache/commons/scxml/modeling/diagram/edit/policies/OnExitOnExitCompartment2CanonicalEditPolicy.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/edit/policies/OnExitOnExitCompartment2CanonicalEditPolicy.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/edit/policies/OnExitOnExitCompartment2CanonicalEditPolicy.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/edit/policies/OnExitOnExitCompartment2CanonicalEditPolicy.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.edit.policies;
 
 import java.util.Collection;
@@ -7,6 +23,7 @@ import java.util.LinkedList;
 import java.util.List;
 import java.util.Set;
 
+import org.apache.commons.scxml.modeling.ModelingPackage;
 import org.apache.commons.scxml.modeling.diagram.edit.parts.Assign2EditPart;
 import org.apache.commons.scxml.modeling.diagram.edit.parts.Cancel2EditPart;
 import org.apache.commons.scxml.modeling.diagram.edit.parts.If2EditPart;
@@ -19,7 +36,6 @@ import org.apache.commons.scxml.modeling
 import org.apache.commons.scxml.modeling.diagram.part.ModelingDiagramUpdater;
 import org.apache.commons.scxml.modeling.diagram.part.ModelingNodeDescriptor;
 import org.apache.commons.scxml.modeling.diagram.part.ModelingVisualIDRegistry;
-import org.apache.commons.scxml.modeling.ModelingPackage;
 import org.eclipse.gmf.runtime.diagram.ui.editpolicies.CanonicalEditPolicy;
 import org.eclipse.gmf.runtime.notation.View;
 
@@ -41,7 +57,7 @@ public class OnExitOnExitCompartment2Can
 		View viewObject = (View) getHost().getModel();
 		List result = new LinkedList();
 		for (Iterator it = ModelingDiagramUpdater
-				.getOnExitOnExitCompartment_5015SemanticChildren(viewObject)
+				.getOnExitOnExitCompartment_7015SemanticChildren(viewObject)
 				.iterator(); it.hasNext();) {
 			result.add(((ModelingNodeDescriptor) it.next()).getModelElement());
 		}



Mime
View raw message