Salome HOME
Tiles is added
[tools/siman.git] / Workspace / Siman / src / org / splat / simer / StudyPropertiesAction.java
index 452ee07302469de3ce62ae61ffd16bb128eb1e37..00efb1d88b6e27f9113b00dc8fb391b8631f8626 100644 (file)
@@ -192,6 +192,7 @@ public class StudyPropertiesAction extends DisplayStudyStepAction {
                setToolProperty("back");
                setLeftMenuProperty("open");
                initializationFullScreenContext(_menuProperty, _titleProperty, _editDisabledProperty, _toolProperty, _leftMenuProperty);
+               setActionType("edititle");
 
                return SUCCESS;
        }
@@ -238,6 +239,7 @@ public class StudyPropertiesAction extends DisplayStudyStepAction {
                setLeftMenuProperty("open");
                initializationFullScreenContext(_menuProperty, _titleProperty, _editDisabledProperty, _toolProperty, _leftMenuProperty);
 
+               setActionType("edibutor");
                return SUCCESS;
        }
 
@@ -289,6 +291,8 @@ public class StudyPropertiesAction extends DisplayStudyStepAction {
                setLeftMenuProperty("open");
                initializationFullScreenContext(_menuProperty, _titleProperty, _editDisabledProperty, _toolProperty, _leftMenuProperty);
 
+               setActionType("edicycle");
+               
                return SUCCESS;
        }
 
@@ -435,57 +439,57 @@ public class StudyPropertiesAction extends DisplayStudyStepAction {
        // Setters
        // ==============================================================================================================================
 
-       public void setCandidates(String indices) {
+       public void setCandidates(final String indices) {
                // ------------------------------------------
                candidates = indices;
        }
 
-       public void setCycle(String type) {
+       public void setCycle(final String type) {
                // ----------------------------------
                edicycle = type;
        }
 
-       public void setMembers(String indices) {
+       public void setMembers(final String indices) {
                // ---------------------------------------
                contributors = indices;
        }
 
-       public void setDocumentType(String index) {
+       public void setDocumentType(final String index) {
                // ------------------------------------------
                type = Integer.valueOf(index);
        }
 
-       public void setApprover(String index) {
+       public void setApprover(final String index) {
                // --------------------------------------
                approver = Integer.valueOf(index);
        }
 
-       public void setPublisher(String index) {
+       public void setPublisher(final String index) {
                // ---------------------------------------
                publisher = Integer.valueOf(index);
        }
 
-       public void setReviewer(String index) {
+       public void setReviewer(final String index) {
                // --------------------------------------
                reviewer = Integer.valueOf(index);
        }
 
-       public void setTitle(String title) {
+       public void setTitle(final String title) {
                // -----------------------------------
                stitle = title;
        }
 
-       public void setSaveTitle(String save) {
+       public void setSaveTitle(final String save) {
                // --------------------------------------
                tosave = Save.title;
        }
 
-       public void setSaveContributors(String save) {
+       public void setSaveContributors(final String save) {
                // ---------------------------------------------
                tosave = Save.contributor;
        }
 
-       public void setSaveCycle(String save) {
+       public void setSaveCycle(final String save) {
                // --------------------------------------
                tosave = Save.cycle;
        }
@@ -495,6 +499,7 @@ public class StudyPropertiesAction extends DisplayStudyStepAction {
         * 
         * @return the studyService
         */
+       @Override
        public StudyService getStudyService() {
                return _studyService;
        }
@@ -505,7 +510,8 @@ public class StudyPropertiesAction extends DisplayStudyStepAction {
         * @param studyService
         *            the studyService to set
         */
-       public void setStudyService(StudyService studyService) {
+       @Override
+       public void setStudyService(final StudyService studyService) {
                _studyService = studyService;
        }
 
@@ -524,7 +530,7 @@ public class StudyPropertiesAction extends DisplayStudyStepAction {
         * @param documentTypeService
         *            the documentTypeService to set
         */
-       public void setDocumentTypeService(DocumentTypeService documentTypeService) {
+       public void setDocumentTypeService(final DocumentTypeService documentTypeService) {
                _documentTypeService = documentTypeService;
        }
 
@@ -540,7 +546,7 @@ public class StudyPropertiesAction extends DisplayStudyStepAction {
         * Set the userService.
         * @param userService the userService to set
         */
-       public void setUserService(UserService userService) {
+       public void setUserService(final UserService userService) {
                _userService = userService;
        }
        
@@ -548,6 +554,7 @@ public class StudyPropertiesAction extends DisplayStudyStepAction {
         * Get the menuProperty.
         * @return the menuProperty
         */
+       @Override
        public String getMenuProperty() {
                return _menuProperty;
        }
@@ -556,7 +563,8 @@ public class StudyPropertiesAction extends DisplayStudyStepAction {
         * Set the menuProperty.
         * @param menuProperty the menuProperty to set
         */
-       public void setMenuProperty(String menuProperty) {
+       @Override
+       public void setMenuProperty(final String menuProperty) {
                this._menuProperty = menuProperty;
        }
        
@@ -564,6 +572,7 @@ public class StudyPropertiesAction extends DisplayStudyStepAction {
         * Get the _titleProperty.
         * @return the _titleProperty
         */
+       @Override
        public String getTitleProperty() {
                return _titleProperty;
        }
@@ -572,7 +581,8 @@ public class StudyPropertiesAction extends DisplayStudyStepAction {
         * Set the _titleProperty.
         * @param _titleProperty the titleProperty to set
         */
-       public void setTitleProperty(String titleProperty) {
+       @Override
+       public void setTitleProperty(final String titleProperty) {
                _titleProperty = titleProperty;
        }
 
@@ -580,6 +590,7 @@ public class StudyPropertiesAction extends DisplayStudyStepAction {
         * Get the editDisabledProperty.
         * @return the editDisabledProperty
         */
+       @Override
        public final String getEditDisabledProperty() {
                return _editDisabledProperty;
        }
@@ -588,7 +599,8 @@ public class StudyPropertiesAction extends DisplayStudyStepAction {
         * Set the editDisabledProperty.
         * @param editDisabledProperty the editDisabledProperty to set
         */
-       public final void setEditDisabledProperty(String editDisabledProperty) {
+       @Override
+       public final void setEditDisabledProperty(final String editDisabledProperty) {
                _editDisabledProperty = editDisabledProperty;
        }
 
@@ -596,6 +608,7 @@ public class StudyPropertiesAction extends DisplayStudyStepAction {
         * Get the toolProperty.
         * @return the toolProperty
         */
+       @Override
        public String getToolProperty() {
                return _toolProperty;
        }
@@ -604,6 +617,7 @@ public class StudyPropertiesAction extends DisplayStudyStepAction {
         * Set the toolProperty.
         * @param toolProperty the toolProperty to set
         */
+       @Override
        public void setToolProperty(final String toolProperty) {
                _toolProperty = toolProperty;
        }
@@ -612,6 +626,7 @@ public class StudyPropertiesAction extends DisplayStudyStepAction {
         * Get the leftMenuProperty.
         * @return the leftMenuProperty
         */
+       @Override
        public String getLeftMenuProperty() {
                return _leftMenuProperty;
        }
@@ -620,6 +635,7 @@ public class StudyPropertiesAction extends DisplayStudyStepAction {
         * Set the leftMenuProperty.
         * @param leftMenuProperty the leftMenuProperty to set
         */
+       @Override
        public void setLeftMenuProperty(final String leftMenuProperty) {
                _leftMenuProperty = leftMenuProperty;
        }