commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gu...@apache.org
Subject svn commit: r945691 [35/39] - in /commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src: main/java/org.apache.commons.scxml.diagram/ main/java/org.apache.commons.scxml.diagram/META-INF/ main/java/org.apache.commons.scxml.diagram/icons/obj16/ main/java/org....
Date Tue, 18 May 2010 15:13:31 GMT
Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/modeling/impl/FinalizeImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/modeling/impl/FinalizeImpl.java?rev=945691&r1=945690&r2=945691&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/modeling/impl/FinalizeImpl.java
(original)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/modeling/impl/FinalizeImpl.java
Tue May 18 15:13:13 2010
@@ -10,7 +10,7 @@ import java.util.Collection;
 
 import org.apache.commons.scxml.modeling.ExecutableContent;
 import org.apache.commons.scxml.modeling.Finalize;
-import org.apache.commons.scxml.modeling.ScxmlPackage;
+import org.apache.commons.scxml.modeling.ModelingPackage;
 
 import org.eclipse.emf.common.notify.NotificationChain;
 
@@ -63,7 +63,7 @@ public class FinalizeImpl extends EObjec
 	 * @generated
 	 */
 	protected EClass eStaticClass() {
-		return ScxmlPackage.Literals.FINALIZE;
+		return ModelingPackage.Literals.FINALIZE;
 	}
 
 	/**
@@ -73,7 +73,7 @@ public class FinalizeImpl extends EObjec
 	 */
 	public EList getExecutableContent() {
 		if (executableContent == null) {
-			executableContent = new EObjectContainmentEList(ExecutableContent.class, this, ScxmlPackage.FINALIZE__EXECUTABLE_CONTENT);
+			executableContent = new EObjectContainmentEList(ExecutableContent.class, this, ModelingPackage.FINALIZE__EXECUTABLE_CONTENT);
 		}
 		return executableContent;
 	}
@@ -85,7 +85,7 @@ public class FinalizeImpl extends EObjec
 	 */
 	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain
msgs) {
 		switch (featureID) {
-			case ScxmlPackage.FINALIZE__EXECUTABLE_CONTENT:
+			case ModelingPackage.FINALIZE__EXECUTABLE_CONTENT:
 				return ((InternalEList)getExecutableContent()).basicRemove(otherEnd, msgs);
 		}
 		return super.eInverseRemove(otherEnd, featureID, msgs);
@@ -98,7 +98,7 @@ public class FinalizeImpl extends EObjec
 	 */
 	public Object eGet(int featureID, boolean resolve, boolean coreType) {
 		switch (featureID) {
-			case ScxmlPackage.FINALIZE__EXECUTABLE_CONTENT:
+			case ModelingPackage.FINALIZE__EXECUTABLE_CONTENT:
 				return getExecutableContent();
 		}
 		return super.eGet(featureID, resolve, coreType);
@@ -111,7 +111,7 @@ public class FinalizeImpl extends EObjec
 	 */
 	public void eSet(int featureID, Object newValue) {
 		switch (featureID) {
-			case ScxmlPackage.FINALIZE__EXECUTABLE_CONTENT:
+			case ModelingPackage.FINALIZE__EXECUTABLE_CONTENT:
 				getExecutableContent().clear();
 				getExecutableContent().addAll((Collection)newValue);
 				return;
@@ -126,7 +126,7 @@ public class FinalizeImpl extends EObjec
 	 */
 	public void eUnset(int featureID) {
 		switch (featureID) {
-			case ScxmlPackage.FINALIZE__EXECUTABLE_CONTENT:
+			case ModelingPackage.FINALIZE__EXECUTABLE_CONTENT:
 				getExecutableContent().clear();
 				return;
 		}
@@ -140,7 +140,7 @@ public class FinalizeImpl extends EObjec
 	 */
 	public boolean eIsSet(int featureID) {
 		switch (featureID) {
-			case ScxmlPackage.FINALIZE__EXECUTABLE_CONTENT:
+			case ModelingPackage.FINALIZE__EXECUTABLE_CONTENT:
 				return executableContent != null && !executableContent.isEmpty();
 		}
 		return super.eIsSet(featureID);

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/modeling/impl/HistoryStateImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/modeling/impl/HistoryStateImpl.java?rev=945691&r1=945690&r2=945691&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/modeling/impl/HistoryStateImpl.java
(original)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/modeling/impl/HistoryStateImpl.java
Tue May 18 15:13:13 2010
@@ -7,7 +7,7 @@
 package org.apache.commons.scxml.modeling.impl;
 
 import org.apache.commons.scxml.modeling.HistoryState;
-import org.apache.commons.scxml.modeling.ScxmlPackage;
+import org.apache.commons.scxml.modeling.ModelingPackage;
 
 import org.eclipse.emf.common.notify.Notification;
 
@@ -85,7 +85,7 @@ public class HistoryStateImpl extends Na
 	 * @generated
 	 */
 	protected EClass eStaticClass() {
-		return ScxmlPackage.Literals.HISTORY_STATE;
+		return ModelingPackage.Literals.HISTORY_STATE;
 	}
 
 	/**
@@ -106,7 +106,7 @@ public class HistoryStateImpl extends Na
 		String oldId = id;
 		id = newId;
 		if (eNotificationRequired())
-			eNotify(new ENotificationImpl(this, Notification.SET, ScxmlPackage.HISTORY_STATE__ID,
oldId, id));
+			eNotify(new ENotificationImpl(this, Notification.SET, ModelingPackage.HISTORY_STATE__ID,
oldId, id));
 	}
 
 	/**
@@ -127,7 +127,7 @@ public class HistoryStateImpl extends Na
 		String oldType = type;
 		type = newType;
 		if (eNotificationRequired())
-			eNotify(new ENotificationImpl(this, Notification.SET, ScxmlPackage.HISTORY_STATE__TYPE,
oldType, type));
+			eNotify(new ENotificationImpl(this, Notification.SET, ModelingPackage.HISTORY_STATE__TYPE,
oldType, type));
 	}
 
 	/**
@@ -137,9 +137,9 @@ public class HistoryStateImpl extends Na
 	 */
 	public Object eGet(int featureID, boolean resolve, boolean coreType) {
 		switch (featureID) {
-			case ScxmlPackage.HISTORY_STATE__ID:
+			case ModelingPackage.HISTORY_STATE__ID:
 				return getId();
-			case ScxmlPackage.HISTORY_STATE__TYPE:
+			case ModelingPackage.HISTORY_STATE__TYPE:
 				return getType();
 		}
 		return super.eGet(featureID, resolve, coreType);
@@ -152,10 +152,10 @@ public class HistoryStateImpl extends Na
 	 */
 	public void eSet(int featureID, Object newValue) {
 		switch (featureID) {
-			case ScxmlPackage.HISTORY_STATE__ID:
+			case ModelingPackage.HISTORY_STATE__ID:
 				setId((String)newValue);
 				return;
-			case ScxmlPackage.HISTORY_STATE__TYPE:
+			case ModelingPackage.HISTORY_STATE__TYPE:
 				setType((String)newValue);
 				return;
 		}
@@ -169,10 +169,10 @@ public class HistoryStateImpl extends Na
 	 */
 	public void eUnset(int featureID) {
 		switch (featureID) {
-			case ScxmlPackage.HISTORY_STATE__ID:
+			case ModelingPackage.HISTORY_STATE__ID:
 				setId(ID_EDEFAULT);
 				return;
-			case ScxmlPackage.HISTORY_STATE__TYPE:
+			case ModelingPackage.HISTORY_STATE__TYPE:
 				setType(TYPE_EDEFAULT);
 				return;
 		}
@@ -186,9 +186,9 @@ public class HistoryStateImpl extends Na
 	 */
 	public boolean eIsSet(int featureID) {
 		switch (featureID) {
-			case ScxmlPackage.HISTORY_STATE__ID:
+			case ModelingPackage.HISTORY_STATE__ID:
 				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
-			case ScxmlPackage.HISTORY_STATE__TYPE:
+			case ModelingPackage.HISTORY_STATE__TYPE:
 				return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
 		}
 		return super.eIsSet(featureID);

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/modeling/impl/IfImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/modeling/impl/IfImpl.java?rev=945691&r1=945690&r2=945691&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/modeling/impl/IfImpl.java
(original)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/modeling/impl/IfImpl.java
Tue May 18 15:13:13 2010
@@ -11,7 +11,7 @@ import java.util.Collection;
 import org.apache.commons.scxml.modeling.Else;
 import org.apache.commons.scxml.modeling.ElseIf;
 import org.apache.commons.scxml.modeling.If;
-import org.apache.commons.scxml.modeling.ScxmlPackage;
+import org.apache.commons.scxml.modeling.ModelingPackage;
 
 import org.eclipse.emf.common.notify.Notification;
 import org.eclipse.emf.common.notify.NotificationChain;
@@ -97,7 +97,7 @@ public class IfImpl extends ExecutableCo
 	 * @generated
 	 */
 	protected EClass eStaticClass() {
-		return ScxmlPackage.Literals.IF;
+		return ModelingPackage.Literals.IF;
 	}
 
 	/**
@@ -118,7 +118,7 @@ public class IfImpl extends ExecutableCo
 		String oldCond = cond;
 		cond = newCond;
 		if (eNotificationRequired())
-			eNotify(new ENotificationImpl(this, Notification.SET, ScxmlPackage.IF__COND, oldCond,
cond));
+			eNotify(new ENotificationImpl(this, Notification.SET, ModelingPackage.IF__COND, oldCond,
cond));
 	}
 
 	/**
@@ -128,7 +128,7 @@ public class IfImpl extends ExecutableCo
 	 */
 	public EList getElseif() {
 		if (elseif == null) {
-			elseif = new EObjectContainmentEList(ElseIf.class, this, ScxmlPackage.IF__ELSEIF);
+			elseif = new EObjectContainmentEList(ElseIf.class, this, ModelingPackage.IF__ELSEIF);
 		}
 		return elseif;
 	}
@@ -151,7 +151,7 @@ public class IfImpl extends ExecutableCo
 		Else oldElse = else_;
 		else_ = newElse;
 		if (eNotificationRequired()) {
-			ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ScxmlPackage.IF__ELSE,
oldElse, newElse);
+			ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ModelingPackage.IF__ELSE,
oldElse, newElse);
 			if (msgs == null) msgs = notification; else msgs.add(notification);
 		}
 		return msgs;
@@ -166,14 +166,14 @@ public class IfImpl extends ExecutableCo
 		if (newElse != else_) {
 			NotificationChain msgs = null;
 			if (else_ != null)
-				msgs = ((InternalEObject)else_).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ScxmlPackage.IF__ELSE,
null, msgs);
+				msgs = ((InternalEObject)else_).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ModelingPackage.IF__ELSE,
null, msgs);
 			if (newElse != null)
-				msgs = ((InternalEObject)newElse).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ScxmlPackage.IF__ELSE,
null, msgs);
+				msgs = ((InternalEObject)newElse).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ModelingPackage.IF__ELSE,
null, msgs);
 			msgs = basicSetElse(newElse, msgs);
 			if (msgs != null) msgs.dispatch();
 		}
 		else if (eNotificationRequired())
-			eNotify(new ENotificationImpl(this, Notification.SET, ScxmlPackage.IF__ELSE, newElse,
newElse));
+			eNotify(new ENotificationImpl(this, Notification.SET, ModelingPackage.IF__ELSE, newElse,
newElse));
 	}
 
 	/**
@@ -183,9 +183,9 @@ public class IfImpl extends ExecutableCo
 	 */
 	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain
msgs) {
 		switch (featureID) {
-			case ScxmlPackage.IF__ELSEIF:
+			case ModelingPackage.IF__ELSEIF:
 				return ((InternalEList)getElseif()).basicRemove(otherEnd, msgs);
-			case ScxmlPackage.IF__ELSE:
+			case ModelingPackage.IF__ELSE:
 				return basicSetElse(null, msgs);
 		}
 		return super.eInverseRemove(otherEnd, featureID, msgs);
@@ -198,11 +198,11 @@ public class IfImpl extends ExecutableCo
 	 */
 	public Object eGet(int featureID, boolean resolve, boolean coreType) {
 		switch (featureID) {
-			case ScxmlPackage.IF__COND:
+			case ModelingPackage.IF__COND:
 				return getCond();
-			case ScxmlPackage.IF__ELSEIF:
+			case ModelingPackage.IF__ELSEIF:
 				return getElseif();
-			case ScxmlPackage.IF__ELSE:
+			case ModelingPackage.IF__ELSE:
 				return getElse();
 		}
 		return super.eGet(featureID, resolve, coreType);
@@ -215,14 +215,14 @@ public class IfImpl extends ExecutableCo
 	 */
 	public void eSet(int featureID, Object newValue) {
 		switch (featureID) {
-			case ScxmlPackage.IF__COND:
+			case ModelingPackage.IF__COND:
 				setCond((String)newValue);
 				return;
-			case ScxmlPackage.IF__ELSEIF:
+			case ModelingPackage.IF__ELSEIF:
 				getElseif().clear();
 				getElseif().addAll((Collection)newValue);
 				return;
-			case ScxmlPackage.IF__ELSE:
+			case ModelingPackage.IF__ELSE:
 				setElse((Else)newValue);
 				return;
 		}
@@ -236,13 +236,13 @@ public class IfImpl extends ExecutableCo
 	 */
 	public void eUnset(int featureID) {
 		switch (featureID) {
-			case ScxmlPackage.IF__COND:
+			case ModelingPackage.IF__COND:
 				setCond(COND_EDEFAULT);
 				return;
-			case ScxmlPackage.IF__ELSEIF:
+			case ModelingPackage.IF__ELSEIF:
 				getElseif().clear();
 				return;
-			case ScxmlPackage.IF__ELSE:
+			case ModelingPackage.IF__ELSE:
 				setElse((Else)null);
 				return;
 		}
@@ -256,11 +256,11 @@ public class IfImpl extends ExecutableCo
 	 */
 	public boolean eIsSet(int featureID) {
 		switch (featureID) {
-			case ScxmlPackage.IF__COND:
+			case ModelingPackage.IF__COND:
 				return COND_EDEFAULT == null ? cond != null : !COND_EDEFAULT.equals(cond);
-			case ScxmlPackage.IF__ELSEIF:
+			case ModelingPackage.IF__ELSEIF:
 				return elseif != null && !elseif.isEmpty();
-			case ScxmlPackage.IF__ELSE:
+			case ModelingPackage.IF__ELSE:
 				return else_ != null;
 		}
 		return super.eIsSet(featureID);

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/modeling/impl/InitialStateImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/modeling/impl/InitialStateImpl.java?rev=945691&r1=945690&r2=945691&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/modeling/impl/InitialStateImpl.java
(original)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/modeling/impl/InitialStateImpl.java
Tue May 18 15:13:13 2010
@@ -7,7 +7,7 @@
 package org.apache.commons.scxml.modeling.impl;
 
 import org.apache.commons.scxml.modeling.InitialState;
-import org.apache.commons.scxml.modeling.ScxmlPackage;
+import org.apache.commons.scxml.modeling.ModelingPackage;
 
 import org.eclipse.emf.ecore.EClass;
 
@@ -36,7 +36,7 @@ public class InitialStateImpl extends Na
 	 * @generated
 	 */
 	protected EClass eStaticClass() {
-		return ScxmlPackage.Literals.INITIAL_STATE;
+		return ModelingPackage.Literals.INITIAL_STATE;
 	}
 
 } //InitialStateImpl

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/modeling/impl/InvokeImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/modeling/impl/InvokeImpl.java?rev=945691&r1=945690&r2=945691&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/modeling/impl/InvokeImpl.java
(original)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/modeling/impl/InvokeImpl.java
Tue May 18 15:13:13 2010
@@ -11,8 +11,8 @@ import java.util.Collection;
 import org.apache.commons.scxml.modeling.Content;
 import org.apache.commons.scxml.modeling.Finalize;
 import org.apache.commons.scxml.modeling.Invoke;
+import org.apache.commons.scxml.modeling.ModelingPackage;
 import org.apache.commons.scxml.modeling.Param;
-import org.apache.commons.scxml.modeling.ScxmlPackage;
 
 import org.eclipse.emf.common.notify.Notification;
 import org.eclipse.emf.common.notify.NotificationChain;
@@ -257,7 +257,7 @@ public class InvokeImpl extends EObjectI
 	 * @generated
 	 */
 	protected EClass eStaticClass() {
-		return ScxmlPackage.Literals.INVOKE;
+		return ModelingPackage.Literals.INVOKE;
 	}
 
 	/**
@@ -278,7 +278,7 @@ public class InvokeImpl extends EObjectI
 		Content oldContent = content;
 		content = newContent;
 		if (eNotificationRequired()) {
-			ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ScxmlPackage.INVOKE__CONTENT,
oldContent, newContent);
+			ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ModelingPackage.INVOKE__CONTENT,
oldContent, newContent);
 			if (msgs == null) msgs = notification; else msgs.add(notification);
 		}
 		return msgs;
@@ -293,14 +293,14 @@ public class InvokeImpl extends EObjectI
 		if (newContent != content) {
 			NotificationChain msgs = null;
 			if (content != null)
-				msgs = ((InternalEObject)content).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ScxmlPackage.INVOKE__CONTENT,
null, msgs);
+				msgs = ((InternalEObject)content).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ModelingPackage.INVOKE__CONTENT,
null, msgs);
 			if (newContent != null)
-				msgs = ((InternalEObject)newContent).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ScxmlPackage.INVOKE__CONTENT,
null, msgs);
+				msgs = ((InternalEObject)newContent).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ModelingPackage.INVOKE__CONTENT,
null, msgs);
 			msgs = basicSetContent(newContent, msgs);
 			if (msgs != null) msgs.dispatch();
 		}
 		else if (eNotificationRequired())
-			eNotify(new ENotificationImpl(this, Notification.SET, ScxmlPackage.INVOKE__CONTENT, newContent,
newContent));
+			eNotify(new ENotificationImpl(this, Notification.SET, ModelingPackage.INVOKE__CONTENT,
newContent, newContent));
 	}
 
 	/**
@@ -310,7 +310,7 @@ public class InvokeImpl extends EObjectI
 	 */
 	public EList getParam() {
 		if (param == null) {
-			param = new EObjectContainmentEList(Param.class, this, ScxmlPackage.INVOKE__PARAM);
+			param = new EObjectContainmentEList(Param.class, this, ModelingPackage.INVOKE__PARAM);
 		}
 		return param;
 	}
@@ -333,7 +333,7 @@ public class InvokeImpl extends EObjectI
 		String oldType = type;
 		type = newType;
 		if (eNotificationRequired())
-			eNotify(new ENotificationImpl(this, Notification.SET, ScxmlPackage.INVOKE__TYPE, oldType,
type));
+			eNotify(new ENotificationImpl(this, Notification.SET, ModelingPackage.INVOKE__TYPE, oldType,
type));
 	}
 
 	/**
@@ -354,7 +354,7 @@ public class InvokeImpl extends EObjectI
 		String oldTypeexpr = typeexpr;
 		typeexpr = newTypeexpr;
 		if (eNotificationRequired())
-			eNotify(new ENotificationImpl(this, Notification.SET, ScxmlPackage.INVOKE__TYPEEXPR, oldTypeexpr,
typeexpr));
+			eNotify(new ENotificationImpl(this, Notification.SET, ModelingPackage.INVOKE__TYPEEXPR,
oldTypeexpr, typeexpr));
 	}
 
 	/**
@@ -375,7 +375,7 @@ public class InvokeImpl extends EObjectI
 		String oldSrc = src;
 		src = newSrc;
 		if (eNotificationRequired())
-			eNotify(new ENotificationImpl(this, Notification.SET, ScxmlPackage.INVOKE__SRC, oldSrc,
src));
+			eNotify(new ENotificationImpl(this, Notification.SET, ModelingPackage.INVOKE__SRC, oldSrc,
src));
 	}
 
 	/**
@@ -396,7 +396,7 @@ public class InvokeImpl extends EObjectI
 		String oldSrcexpr = srcexpr;
 		srcexpr = newSrcexpr;
 		if (eNotificationRequired())
-			eNotify(new ENotificationImpl(this, Notification.SET, ScxmlPackage.INVOKE__SRCEXPR, oldSrcexpr,
srcexpr));
+			eNotify(new ENotificationImpl(this, Notification.SET, ModelingPackage.INVOKE__SRCEXPR,
oldSrcexpr, srcexpr));
 	}
 
 	/**
@@ -417,7 +417,7 @@ public class InvokeImpl extends EObjectI
 		String oldId = id;
 		id = newId;
 		if (eNotificationRequired())
-			eNotify(new ENotificationImpl(this, Notification.SET, ScxmlPackage.INVOKE__ID, oldId,
id));
+			eNotify(new ENotificationImpl(this, Notification.SET, ModelingPackage.INVOKE__ID, oldId,
id));
 	}
 
 	/**
@@ -438,7 +438,7 @@ public class InvokeImpl extends EObjectI
 		String oldIdlocation = idlocation;
 		idlocation = newIdlocation;
 		if (eNotificationRequired())
-			eNotify(new ENotificationImpl(this, Notification.SET, ScxmlPackage.INVOKE__IDLOCATION,
oldIdlocation, idlocation));
+			eNotify(new ENotificationImpl(this, Notification.SET, ModelingPackage.INVOKE__IDLOCATION,
oldIdlocation, idlocation));
 	}
 
 	/**
@@ -459,7 +459,7 @@ public class InvokeImpl extends EObjectI
 		String oldNamelist = namelist;
 		namelist = newNamelist;
 		if (eNotificationRequired())
-			eNotify(new ENotificationImpl(this, Notification.SET, ScxmlPackage.INVOKE__NAMELIST, oldNamelist,
namelist));
+			eNotify(new ENotificationImpl(this, Notification.SET, ModelingPackage.INVOKE__NAMELIST,
oldNamelist, namelist));
 	}
 
 	/**
@@ -480,7 +480,7 @@ public class InvokeImpl extends EObjectI
 		String oldAutoforward = autoforward;
 		autoforward = newAutoforward;
 		if (eNotificationRequired())
-			eNotify(new ENotificationImpl(this, Notification.SET, ScxmlPackage.INVOKE__AUTOFORWARD,
oldAutoforward, autoforward));
+			eNotify(new ENotificationImpl(this, Notification.SET, ModelingPackage.INVOKE__AUTOFORWARD,
oldAutoforward, autoforward));
 	}
 
 	/**
@@ -501,7 +501,7 @@ public class InvokeImpl extends EObjectI
 		Finalize oldFinalize = finalize;
 		finalize = newFinalize;
 		if (eNotificationRequired()) {
-			ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ScxmlPackage.INVOKE__FINALIZE,
oldFinalize, newFinalize);
+			ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ModelingPackage.INVOKE__FINALIZE,
oldFinalize, newFinalize);
 			if (msgs == null) msgs = notification; else msgs.add(notification);
 		}
 		return msgs;
@@ -516,14 +516,14 @@ public class InvokeImpl extends EObjectI
 		if (newFinalize != finalize) {
 			NotificationChain msgs = null;
 			if (finalize != null)
-				msgs = ((InternalEObject)finalize).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ScxmlPackage.INVOKE__FINALIZE,
null, msgs);
+				msgs = ((InternalEObject)finalize).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ModelingPackage.INVOKE__FINALIZE,
null, msgs);
 			if (newFinalize != null)
-				msgs = ((InternalEObject)newFinalize).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ScxmlPackage.INVOKE__FINALIZE,
null, msgs);
+				msgs = ((InternalEObject)newFinalize).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ModelingPackage.INVOKE__FINALIZE,
null, msgs);
 			msgs = basicSetFinalize(newFinalize, msgs);
 			if (msgs != null) msgs.dispatch();
 		}
 		else if (eNotificationRequired())
-			eNotify(new ENotificationImpl(this, Notification.SET, ScxmlPackage.INVOKE__FINALIZE, newFinalize,
newFinalize));
+			eNotify(new ENotificationImpl(this, Notification.SET, ModelingPackage.INVOKE__FINALIZE,
newFinalize, newFinalize));
 	}
 
 	/**
@@ -533,11 +533,11 @@ public class InvokeImpl extends EObjectI
 	 */
 	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain
msgs) {
 		switch (featureID) {
-			case ScxmlPackage.INVOKE__CONTENT:
+			case ModelingPackage.INVOKE__CONTENT:
 				return basicSetContent(null, msgs);
-			case ScxmlPackage.INVOKE__PARAM:
+			case ModelingPackage.INVOKE__PARAM:
 				return ((InternalEList)getParam()).basicRemove(otherEnd, msgs);
-			case ScxmlPackage.INVOKE__FINALIZE:
+			case ModelingPackage.INVOKE__FINALIZE:
 				return basicSetFinalize(null, msgs);
 		}
 		return super.eInverseRemove(otherEnd, featureID, msgs);
@@ -550,27 +550,27 @@ public class InvokeImpl extends EObjectI
 	 */
 	public Object eGet(int featureID, boolean resolve, boolean coreType) {
 		switch (featureID) {
-			case ScxmlPackage.INVOKE__CONTENT:
+			case ModelingPackage.INVOKE__CONTENT:
 				return getContent();
-			case ScxmlPackage.INVOKE__PARAM:
+			case ModelingPackage.INVOKE__PARAM:
 				return getParam();
-			case ScxmlPackage.INVOKE__TYPE:
+			case ModelingPackage.INVOKE__TYPE:
 				return getType();
-			case ScxmlPackage.INVOKE__TYPEEXPR:
+			case ModelingPackage.INVOKE__TYPEEXPR:
 				return getTypeexpr();
-			case ScxmlPackage.INVOKE__SRC:
+			case ModelingPackage.INVOKE__SRC:
 				return getSrc();
-			case ScxmlPackage.INVOKE__SRCEXPR:
+			case ModelingPackage.INVOKE__SRCEXPR:
 				return getSrcexpr();
-			case ScxmlPackage.INVOKE__ID:
+			case ModelingPackage.INVOKE__ID:
 				return getId();
-			case ScxmlPackage.INVOKE__IDLOCATION:
+			case ModelingPackage.INVOKE__IDLOCATION:
 				return getIdlocation();
-			case ScxmlPackage.INVOKE__NAMELIST:
+			case ModelingPackage.INVOKE__NAMELIST:
 				return getNamelist();
-			case ScxmlPackage.INVOKE__AUTOFORWARD:
+			case ModelingPackage.INVOKE__AUTOFORWARD:
 				return getAutoforward();
-			case ScxmlPackage.INVOKE__FINALIZE:
+			case ModelingPackage.INVOKE__FINALIZE:
 				return getFinalize();
 		}
 		return super.eGet(featureID, resolve, coreType);
@@ -583,38 +583,38 @@ public class InvokeImpl extends EObjectI
 	 */
 	public void eSet(int featureID, Object newValue) {
 		switch (featureID) {
-			case ScxmlPackage.INVOKE__CONTENT:
+			case ModelingPackage.INVOKE__CONTENT:
 				setContent((Content)newValue);
 				return;
-			case ScxmlPackage.INVOKE__PARAM:
+			case ModelingPackage.INVOKE__PARAM:
 				getParam().clear();
 				getParam().addAll((Collection)newValue);
 				return;
-			case ScxmlPackage.INVOKE__TYPE:
+			case ModelingPackage.INVOKE__TYPE:
 				setType((String)newValue);
 				return;
-			case ScxmlPackage.INVOKE__TYPEEXPR:
+			case ModelingPackage.INVOKE__TYPEEXPR:
 				setTypeexpr((String)newValue);
 				return;
-			case ScxmlPackage.INVOKE__SRC:
+			case ModelingPackage.INVOKE__SRC:
 				setSrc((String)newValue);
 				return;
-			case ScxmlPackage.INVOKE__SRCEXPR:
+			case ModelingPackage.INVOKE__SRCEXPR:
 				setSrcexpr((String)newValue);
 				return;
-			case ScxmlPackage.INVOKE__ID:
+			case ModelingPackage.INVOKE__ID:
 				setId((String)newValue);
 				return;
-			case ScxmlPackage.INVOKE__IDLOCATION:
+			case ModelingPackage.INVOKE__IDLOCATION:
 				setIdlocation((String)newValue);
 				return;
-			case ScxmlPackage.INVOKE__NAMELIST:
+			case ModelingPackage.INVOKE__NAMELIST:
 				setNamelist((String)newValue);
 				return;
-			case ScxmlPackage.INVOKE__AUTOFORWARD:
+			case ModelingPackage.INVOKE__AUTOFORWARD:
 				setAutoforward((String)newValue);
 				return;
-			case ScxmlPackage.INVOKE__FINALIZE:
+			case ModelingPackage.INVOKE__FINALIZE:
 				setFinalize((Finalize)newValue);
 				return;
 		}
@@ -628,37 +628,37 @@ public class InvokeImpl extends EObjectI
 	 */
 	public void eUnset(int featureID) {
 		switch (featureID) {
-			case ScxmlPackage.INVOKE__CONTENT:
+			case ModelingPackage.INVOKE__CONTENT:
 				setContent((Content)null);
 				return;
-			case ScxmlPackage.INVOKE__PARAM:
+			case ModelingPackage.INVOKE__PARAM:
 				getParam().clear();
 				return;
-			case ScxmlPackage.INVOKE__TYPE:
+			case ModelingPackage.INVOKE__TYPE:
 				setType(TYPE_EDEFAULT);
 				return;
-			case ScxmlPackage.INVOKE__TYPEEXPR:
+			case ModelingPackage.INVOKE__TYPEEXPR:
 				setTypeexpr(TYPEEXPR_EDEFAULT);
 				return;
-			case ScxmlPackage.INVOKE__SRC:
+			case ModelingPackage.INVOKE__SRC:
 				setSrc(SRC_EDEFAULT);
 				return;
-			case ScxmlPackage.INVOKE__SRCEXPR:
+			case ModelingPackage.INVOKE__SRCEXPR:
 				setSrcexpr(SRCEXPR_EDEFAULT);
 				return;
-			case ScxmlPackage.INVOKE__ID:
+			case ModelingPackage.INVOKE__ID:
 				setId(ID_EDEFAULT);
 				return;
-			case ScxmlPackage.INVOKE__IDLOCATION:
+			case ModelingPackage.INVOKE__IDLOCATION:
 				setIdlocation(IDLOCATION_EDEFAULT);
 				return;
-			case ScxmlPackage.INVOKE__NAMELIST:
+			case ModelingPackage.INVOKE__NAMELIST:
 				setNamelist(NAMELIST_EDEFAULT);
 				return;
-			case ScxmlPackage.INVOKE__AUTOFORWARD:
+			case ModelingPackage.INVOKE__AUTOFORWARD:
 				setAutoforward(AUTOFORWARD_EDEFAULT);
 				return;
-			case ScxmlPackage.INVOKE__FINALIZE:
+			case ModelingPackage.INVOKE__FINALIZE:
 				setFinalize((Finalize)null);
 				return;
 		}
@@ -672,27 +672,27 @@ public class InvokeImpl extends EObjectI
 	 */
 	public boolean eIsSet(int featureID) {
 		switch (featureID) {
-			case ScxmlPackage.INVOKE__CONTENT:
+			case ModelingPackage.INVOKE__CONTENT:
 				return content != null;
-			case ScxmlPackage.INVOKE__PARAM:
+			case ModelingPackage.INVOKE__PARAM:
 				return param != null && !param.isEmpty();
-			case ScxmlPackage.INVOKE__TYPE:
+			case ModelingPackage.INVOKE__TYPE:
 				return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
-			case ScxmlPackage.INVOKE__TYPEEXPR:
+			case ModelingPackage.INVOKE__TYPEEXPR:
 				return TYPEEXPR_EDEFAULT == null ? typeexpr != null : !TYPEEXPR_EDEFAULT.equals(typeexpr);
-			case ScxmlPackage.INVOKE__SRC:
+			case ModelingPackage.INVOKE__SRC:
 				return SRC_EDEFAULT == null ? src != null : !SRC_EDEFAULT.equals(src);
-			case ScxmlPackage.INVOKE__SRCEXPR:
+			case ModelingPackage.INVOKE__SRCEXPR:
 				return SRCEXPR_EDEFAULT == null ? srcexpr != null : !SRCEXPR_EDEFAULT.equals(srcexpr);
-			case ScxmlPackage.INVOKE__ID:
+			case ModelingPackage.INVOKE__ID:
 				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
-			case ScxmlPackage.INVOKE__IDLOCATION:
+			case ModelingPackage.INVOKE__IDLOCATION:
 				return IDLOCATION_EDEFAULT == null ? idlocation != null : !IDLOCATION_EDEFAULT.equals(idlocation);
-			case ScxmlPackage.INVOKE__NAMELIST:
+			case ModelingPackage.INVOKE__NAMELIST:
 				return NAMELIST_EDEFAULT == null ? namelist != null : !NAMELIST_EDEFAULT.equals(namelist);
-			case ScxmlPackage.INVOKE__AUTOFORWARD:
+			case ModelingPackage.INVOKE__AUTOFORWARD:
 				return AUTOFORWARD_EDEFAULT == null ? autoforward != null : !AUTOFORWARD_EDEFAULT.equals(autoforward);
-			case ScxmlPackage.INVOKE__FINALIZE:
+			case ModelingPackage.INVOKE__FINALIZE:
 				return finalize != null;
 		}
 		return super.eIsSet(featureID);

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/modeling/impl/LogImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/modeling/impl/LogImpl.java?rev=945691&r1=945690&r2=945691&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/modeling/impl/LogImpl.java
(original)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/modeling/impl/LogImpl.java
Tue May 18 15:13:13 2010
@@ -7,7 +7,7 @@
 package org.apache.commons.scxml.modeling.impl;
 
 import org.apache.commons.scxml.modeling.Log;
-import org.apache.commons.scxml.modeling.ScxmlPackage;
+import org.apache.commons.scxml.modeling.ModelingPackage;
 
 import org.eclipse.emf.common.notify.Notification;
 
@@ -106,7 +106,7 @@ public class LogImpl extends ExecutableC
 	 * @generated
 	 */
 	protected EClass eStaticClass() {
-		return ScxmlPackage.Literals.LOG;
+		return ModelingPackage.Literals.LOG;
 	}
 
 	/**
@@ -127,7 +127,7 @@ public class LogImpl extends ExecutableC
 		String oldLabel = label;
 		label = newLabel;
 		if (eNotificationRequired())
-			eNotify(new ENotificationImpl(this, Notification.SET, ScxmlPackage.LOG__LABEL, oldLabel,
label));
+			eNotify(new ENotificationImpl(this, Notification.SET, ModelingPackage.LOG__LABEL, oldLabel,
label));
 	}
 
 	/**
@@ -148,7 +148,7 @@ public class LogImpl extends ExecutableC
 		String oldExpr = expr;
 		expr = newExpr;
 		if (eNotificationRequired())
-			eNotify(new ENotificationImpl(this, Notification.SET, ScxmlPackage.LOG__EXPR, oldExpr,
expr));
+			eNotify(new ENotificationImpl(this, Notification.SET, ModelingPackage.LOG__EXPR, oldExpr,
expr));
 	}
 
 	/**
@@ -169,7 +169,7 @@ public class LogImpl extends ExecutableC
 		String oldLevel = level;
 		level = newLevel;
 		if (eNotificationRequired())
-			eNotify(new ENotificationImpl(this, Notification.SET, ScxmlPackage.LOG__LEVEL, oldLevel,
level));
+			eNotify(new ENotificationImpl(this, Notification.SET, ModelingPackage.LOG__LEVEL, oldLevel,
level));
 	}
 
 	/**
@@ -179,11 +179,11 @@ public class LogImpl extends ExecutableC
 	 */
 	public Object eGet(int featureID, boolean resolve, boolean coreType) {
 		switch (featureID) {
-			case ScxmlPackage.LOG__LABEL:
+			case ModelingPackage.LOG__LABEL:
 				return getLabel();
-			case ScxmlPackage.LOG__EXPR:
+			case ModelingPackage.LOG__EXPR:
 				return getExpr();
-			case ScxmlPackage.LOG__LEVEL:
+			case ModelingPackage.LOG__LEVEL:
 				return getLevel();
 		}
 		return super.eGet(featureID, resolve, coreType);
@@ -196,13 +196,13 @@ public class LogImpl extends ExecutableC
 	 */
 	public void eSet(int featureID, Object newValue) {
 		switch (featureID) {
-			case ScxmlPackage.LOG__LABEL:
+			case ModelingPackage.LOG__LABEL:
 				setLabel((String)newValue);
 				return;
-			case ScxmlPackage.LOG__EXPR:
+			case ModelingPackage.LOG__EXPR:
 				setExpr((String)newValue);
 				return;
-			case ScxmlPackage.LOG__LEVEL:
+			case ModelingPackage.LOG__LEVEL:
 				setLevel((String)newValue);
 				return;
 		}
@@ -216,13 +216,13 @@ public class LogImpl extends ExecutableC
 	 */
 	public void eUnset(int featureID) {
 		switch (featureID) {
-			case ScxmlPackage.LOG__LABEL:
+			case ModelingPackage.LOG__LABEL:
 				setLabel(LABEL_EDEFAULT);
 				return;
-			case ScxmlPackage.LOG__EXPR:
+			case ModelingPackage.LOG__EXPR:
 				setExpr(EXPR_EDEFAULT);
 				return;
-			case ScxmlPackage.LOG__LEVEL:
+			case ModelingPackage.LOG__LEVEL:
 				setLevel(LEVEL_EDEFAULT);
 				return;
 		}
@@ -236,11 +236,11 @@ public class LogImpl extends ExecutableC
 	 */
 	public boolean eIsSet(int featureID) {
 		switch (featureID) {
-			case ScxmlPackage.LOG__LABEL:
+			case ModelingPackage.LOG__LABEL:
 				return LABEL_EDEFAULT == null ? label != null : !LABEL_EDEFAULT.equals(label);
-			case ScxmlPackage.LOG__EXPR:
+			case ModelingPackage.LOG__EXPR:
 				return EXPR_EDEFAULT == null ? expr != null : !EXPR_EDEFAULT.equals(expr);
-			case ScxmlPackage.LOG__LEVEL:
+			case ModelingPackage.LOG__LEVEL:
 				return LEVEL_EDEFAULT == null ? level != null : !LEVEL_EDEFAULT.equals(level);
 		}
 		return super.eIsSet(featureID);

Added: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/modeling/impl/ModelingFactoryImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/modeling/impl/ModelingFactoryImpl.java?rev=945691&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/modeling/impl/ModelingFactoryImpl.java
(added)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/modeling/impl/ModelingFactoryImpl.java
Tue May 18 15:13:13 2010
@@ -0,0 +1,416 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.commons.scxml.modeling.impl;
+
+import org.apache.commons.scxml.modeling.*;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+
+import org.eclipse.emf.ecore.plugin.EcorePlugin;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class ModelingFactoryImpl extends EFactoryImpl implements ModelingFactory {
+	/**
+	 * Creates the default factory implementation.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public static ModelingFactory init() {
+		try {
+			ModelingFactory theModelingFactory = (ModelingFactory)EPackage.Registry.INSTANCE.getEFactory("org.apache.commons.scxml");

+			if (theModelingFactory != null) {
+				return theModelingFactory;
+			}
+		}
+		catch (Exception exception) {
+			EcorePlugin.INSTANCE.log(exception);
+		}
+		return new ModelingFactoryImpl();
+	}
+
+	/**
+	 * Creates an instance of the factory.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public ModelingFactoryImpl() {
+		super();
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public EObject create(EClass eClass) {
+		switch (eClass.getClassifierID()) {
+			case ModelingPackage.NAMED_ELEMENT: return createNamedElement();
+			case ModelingPackage.STATE: return createState();
+			case ModelingPackage.TRANSLATION: return createTranslation();
+			case ModelingPackage.ASSIGN: return createAssign();
+			case ModelingPackage.SERVICE_TEMPLATE: return createServiceTemplate();
+			case ModelingPackage.EXECUTABLE_CONTENT: return createExecutableContent();
+			case ModelingPackage.ON_ENTRY: return createOnEntry();
+			case ModelingPackage.ON_EXIT: return createOnExit();
+			case ModelingPackage.INITIAL_STATE: return createInitialState();
+			case ModelingPackage.FINAL_STATE: return createFinalState();
+			case ModelingPackage.PARALLEL: return createParallel();
+			case ModelingPackage.HISTORY_STATE: return createHistoryState();
+			case ModelingPackage.RAISE: return createRaise();
+			case ModelingPackage.IF: return createIf();
+			case ModelingPackage.ELSE_IF: return createElseIf();
+			case ModelingPackage.ELSE: return createElse();
+			case ModelingPackage.LOG: return createLog();
+			case ModelingPackage.EXTEN_EXEC_CONTENT: return createExtenExecContent();
+			case ModelingPackage.DATA_MODEL: return createDataModel();
+			case ModelingPackage.DATA: return createData();
+			case ModelingPackage.VALIDATE: return createValidate();
+			case ModelingPackage.PARAM: return createParam();
+			case ModelingPackage.SCRIPT: return createScript();
+			case ModelingPackage.ANCHOR: return createAnchor();
+			case ModelingPackage.SEND: return createSend();
+			case ModelingPackage.CANCEL: return createCancel();
+			case ModelingPackage.CONTENT: return createContent();
+			case ModelingPackage.DONEDATA: return createDonedata();
+			case ModelingPackage.INVOKE: return createInvoke();
+			case ModelingPackage.FINALIZE: return createFinalize();
+			default:
+				throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid
classifier");
+		}
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public NamedElement createNamedElement() {
+		NamedElementImpl namedElement = new NamedElementImpl();
+		return namedElement;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public State createState() {
+		StateImpl state = new StateImpl();
+		return state;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public Translation createTranslation() {
+		TranslationImpl translation = new TranslationImpl();
+		return translation;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public Assign createAssign() {
+		AssignImpl assign = new AssignImpl();
+		return assign;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public ServiceTemplate createServiceTemplate() {
+		ServiceTemplateImpl serviceTemplate = new ServiceTemplateImpl();
+		return serviceTemplate;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public ExecutableContent createExecutableContent() {
+		ExecutableContentImpl executableContent = new ExecutableContentImpl();
+		return executableContent;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public OnEntry createOnEntry() {
+		OnEntryImpl onEntry = new OnEntryImpl();
+		return onEntry;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public OnExit createOnExit() {
+		OnExitImpl onExit = new OnExitImpl();
+		return onExit;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public InitialState createInitialState() {
+		InitialStateImpl initialState = new InitialStateImpl();
+		return initialState;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public FinalState createFinalState() {
+		FinalStateImpl finalState = new FinalStateImpl();
+		return finalState;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public Parallel createParallel() {
+		ParallelImpl parallel = new ParallelImpl();
+		return parallel;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public HistoryState createHistoryState() {
+		HistoryStateImpl historyState = new HistoryStateImpl();
+		return historyState;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public Raise createRaise() {
+		RaiseImpl raise = new RaiseImpl();
+		return raise;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public If createIf() {
+		IfImpl if_ = new IfImpl();
+		return if_;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public ElseIf createElseIf() {
+		ElseIfImpl elseIf = new ElseIfImpl();
+		return elseIf;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public Else createElse() {
+		ElseImpl else_ = new ElseImpl();
+		return else_;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public Log createLog() {
+		LogImpl log = new LogImpl();
+		return log;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public ExtenExecContent createExtenExecContent() {
+		ExtenExecContentImpl extenExecContent = new ExtenExecContentImpl();
+		return extenExecContent;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public DataModel createDataModel() {
+		DataModelImpl dataModel = new DataModelImpl();
+		return dataModel;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public Data createData() {
+		DataImpl data = new DataImpl();
+		return data;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public Validate createValidate() {
+		ValidateImpl validate = new ValidateImpl();
+		return validate;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public Param createParam() {
+		ParamImpl param = new ParamImpl();
+		return param;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public Script createScript() {
+		ScriptImpl script = new ScriptImpl();
+		return script;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public Anchor createAnchor() {
+		AnchorImpl anchor = new AnchorImpl();
+		return anchor;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public Send createSend() {
+		SendImpl send = new SendImpl();
+		return send;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public Cancel createCancel() {
+		CancelImpl cancel = new CancelImpl();
+		return cancel;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public Content createContent() {
+		ContentImpl content = new ContentImpl();
+		return content;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public Donedata createDonedata() {
+		DonedataImpl donedata = new DonedataImpl();
+		return donedata;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public Invoke createInvoke() {
+		InvokeImpl invoke = new InvokeImpl();
+		return invoke;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public Finalize createFinalize() {
+		FinalizeImpl finalize = new FinalizeImpl();
+		return finalize;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public ModelingPackage getModelingPackage() {
+		return (ModelingPackage)getEPackage();
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @deprecated
+	 * @generated
+	 */
+	public static ModelingPackage getPackage() {
+		return ModelingPackage.eINSTANCE;
+	}
+
+} //ModelingFactoryImpl

Propchange: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/modeling/impl/ModelingFactoryImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message