Salome HOME
The draft of the "Copy from existing study" action is added. The YACS step is introdu...
[tools/siman.git] / Workspace / Siman / src / spring / applicationContext.xml
index 4ff995c9ab3c368dc4afaa7362569693d975c39f..d1a62f4567f05aa2874e70a5e7b1d207c1a6c522 100644 (file)
@@ -26,8 +26,8 @@ http://www.springframework.org/schema/context/spring-context-3.0.xsd">
                <property name="basenames">
                        <list>
                                <value>conf/log-messages</value>
-                <value>som</value>
-                <value>labels</value>
+                               <value>som</value>
+                               <value>labels</value>
                        </list>
                </property>
        </bean>
@@ -80,7 +80,7 @@ http://www.springframework.org/schema/context/spring-context-3.0.xsd">
                <property name="projectSettings" ref="projectSettings" />
                <property name="knowledgeElementTypeService"
                        ref="knowledgeElementTypeService" />
-        <property name="publicationService" ref="publicationService" />
+               <property name="publicationService" ref="publicationService" />
        </bean>
 
        <bean id="openStudy" class="org.splat.simer.OpenStudy"
@@ -100,8 +100,8 @@ http://www.springframework.org/schema/context/spring-context-3.0.xsd">
 
        <bean id="invalidateAction"
                class="org.splat.simer.InvalidateAction" />
-    
-    <bean id="baseAction" class="org.splat.simer.Action"
+
+       <bean id="baseAction" class="org.splat.simer.Action"
                scope="prototype" abstract="true">
                <property name="applicationSettings" ref="applicationSettings" />
                <property name="openStudy" ref="openStudy" />
@@ -121,6 +121,12 @@ http://www.springframework.org/schema/context/spring-context-3.0.xsd">
                <property name="scenarioService" ref="scenarioService" />
        </bean>
 
+       <bean id="copyStudyAction" class="org.splat.simer.CopyStudyAction"
+               parent="newStudyAction" scope="prototype">
+        <property name="searchService" ref="searchService" />
+        <property name="stepsConfigService" ref="stepsConfigService" />
+       </bean>
+
        <bean id="newScenarioAction"
                class="org.splat.simer.NewScenarioAction" parent="baseAction"
                scope="prototype">
@@ -138,7 +144,7 @@ http://www.springframework.org/schema/context/spring-context-3.0.xsd">
        <bean id="importDocumentAction"
                class="org.splat.simer.ImportDocumentAction" scope="prototype"
                parent="baseAction">
-        <property name="studyService" ref="studyService" />
+               <property name="studyService" ref="studyService" />
                <property name="stepService" ref="stepService" />
                <property name="projectSettings" ref="projectSettings" />
                <property name="publicationService" ref="publicationService" />
@@ -156,8 +162,8 @@ http://www.springframework.org/schema/context/spring-context-3.0.xsd">
        <bean id="removeStudyAction"
                class="org.splat.simer.RemoveStudyAction" scope="prototype"
                parent="baseAction">
-        <property name="studyService" ref="studyService" />
-    </bean>
+               <property name="studyService" ref="studyService" />
+       </bean>
 
        <!--========= Inherited from displayStudyStepAction ========= -->
 
@@ -206,22 +212,22 @@ http://www.springframework.org/schema/context/spring-context-3.0.xsd">
                        ref="knowledgeElementTypeService" />
                <property name="scenarioService" ref="scenarioService" />
        </bean>
-       
-    <bean id="editStepCommentAction"
-        class="org.splat.simer.EditStepCommentAction" scope="prototype"
-        parent="displayStudyStepAction">
-        <property name="stepService" ref="stepService" />
-    </bean>
-       
-    <bean id="editStudyDescriptionAction"
-        class="org.splat.simer.EditStudyDescriptionAction" scope="prototype"
+
+       <bean id="editStepCommentAction"
+               class="org.splat.simer.EditStepCommentAction" scope="prototype"
+               parent="displayStudyStepAction">
+               <property name="stepService" ref="stepService" />
+       </bean>
+
+       <bean id="editStudyDescriptionAction"
+               class="org.splat.simer.EditStudyDescriptionAction" scope="prototype"
                parent="displayStudyStepAction" />
-    
-    <bean id="CompareStudyAction"
-        class="org.splat.simer.CompareStudyAction" scope="prototype"
-        parent="displayStudyStepAction">
-        <property name="publicationService" ref="publicationService" />
-    </bean>
+
+       <bean id="CompareStudyAction"
+               class="org.splat.simer.CompareStudyAction" scope="prototype"
+               parent="displayStudyStepAction">
+               <property name="publicationService" ref="publicationService" />
+       </bean>
 
        <!-- End of Inherited from displayStudyStepAction -->
 
@@ -284,7 +290,7 @@ http://www.springframework.org/schema/context/spring-context-3.0.xsd">
                <property name="projectSettings" ref="projectSettings" />
                <property name="publicationService" ref="publicationService" />
                <property name="stepService" ref="stepService" />
-        <property name="studyService" ref="studyService" />
+               <property name="studyService" ref="studyService" />
                <property name="repositoryService" ref="repositoryService" />
        </bean>