Author: guixl
Date: Wed Jun  9 15:57:48 2010
New Revision: 953051

URL: http://svn.apache.org/viewvc?rev=953051&view=rev
Log:
change data model - remove initial state in service template, only state has 
initial state node

Modified:
    
commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.edit/src/org/apache/commons/scxml/modeling/provider/ServiceTemplateItemProvider.java

Modified: 
commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.edit/src/org/apache/commons/scxml/modeling/provider/ServiceTemplateItemProvider.java
URL: 
http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.edit/src/org/apache/commons/scxml/modeling/provider/ServiceTemplateItemProvider.java?rev=953051&r1=953050&r2=953051&view=diff
==============================================================================
--- 
commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.edit/src/org/apache/commons/scxml/modeling/provider/ServiceTemplateItemProvider.java
 (original)
+++ 
commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling.edit/src/org/apache/commons/scxml/modeling/provider/ServiceTemplateItemProvider.java
 Wed Jun  9 15:57:48 2010
@@ -220,7 +220,6 @@ public class ServiceTemplateItemProvider
                        super.getChildrenFeatures(object);
                        
childrenFeatures.add(ModelingPackage.Literals.SERVICE_TEMPLATE__TRANS_LIST);
                        
childrenFeatures.add(ModelingPackage.Literals.SERVICE_TEMPLATE__STATE_LIST);
-                       
childrenFeatures.add(ModelingPackage.Literals.SERVICE_TEMPLATE__INITIAL_STATE);
                        
childrenFeatures.add(ModelingPackage.Literals.SERVICE_TEMPLATE__FINAL_STATE);
                        
childrenFeatures.add(ModelingPackage.Literals.SERVICE_TEMPLATE__PARALLEL);
                        
childrenFeatures.add(ModelingPackage.Literals.SERVICE_TEMPLATE__DATA_MODEL);
@@ -285,7 +284,6 @@ public class ServiceTemplateItemProvider
                                return;
                        case ModelingPackage.SERVICE_TEMPLATE__TRANS_LIST:
                        case ModelingPackage.SERVICE_TEMPLATE__STATE_LIST:
-                       case ModelingPackage.SERVICE_TEMPLATE__INITIAL_STATE:
                        case ModelingPackage.SERVICE_TEMPLATE__FINAL_STATE:
                        case ModelingPackage.SERVICE_TEMPLATE__PARALLEL:
                        case ModelingPackage.SERVICE_TEMPLATE__DATA_MODEL:
@@ -318,11 +316,6 @@ public class ServiceTemplateItemProvider
 
                newChildDescriptors.add
                        (createChildParameter
-                               
(ModelingPackage.Literals.SERVICE_TEMPLATE__INITIAL_STATE,
-                                
ModelingFactory.eINSTANCE.createInitialState()));
-
-               newChildDescriptors.add
-                       (createChildParameter
                                
(ModelingPackage.Literals.SERVICE_TEMPLATE__FINAL_STATE,
                                 ModelingFactory.eINSTANCE.createFinalState()));
 


Reply via email to