]> SALOME platform Git repositories - tools/siman.git/commitdiff
Salome HOME
Refresh screen after "Mark /Remove as reference", "Public/Protect the Study", "Rename...
authormka <mka@opencascade.com>
Thu, 14 Mar 2013 12:15:33 +0000 (12:15 +0000)
committermka <mka@opencascade.com>
Thu, 14 Mar 2013 12:15:33 +0000 (12:15 +0000)
Workspace/Siman/src/org/splat/simer/EditScenarioPropertiesAction.java
Workspace/Siman/src/org/splat/simer/EditStudyAction.java

index 26a8d47a1299b9220a1753ce2aba3e0173acba73..5b38bedb5caabd8e9ffee203284961eac7fa952b 100644 (file)
@@ -124,6 +124,10 @@ public class EditScenarioPropertiesAction extends DisplayStudyStepAction {
                                _scenarioService.renameScenario(scenario);
                        }
                }
+
+               _myindex = null;
+               _selection = _openStudy.getSelection(); //actually, value doesn't matter, it just has to be not null
+               doOpen();
                return SUCCESS;
        }
 
index 928ba6ed5f52b1e9ccd4d1acbe606091aecdea32..c666c042fb0f273dcf44f7937623408ee61993de 100644 (file)
@@ -34,6 +34,9 @@ public class EditStudyAction extends DisplayStudyStepAction {
 
                setMenu();
 
+               _myindex = null;
+               _selection = _openStudy.getSelection(); //actually, value doesn't matter, it just has to be not null
+               doOpen();
                return SUCCESS;
        }
        
@@ -47,7 +50,10 @@ public class EditStudyAction extends DisplayStudyStepAction {
                Study study = _openStudy.getStudyObject();
                
                getStudyService().markStudyAsReference(study);
-               
+
+               _myindex = null;
+               _selection = _openStudy.getSelection(); //actually, value doesn't matter, it just has to be not null
+               doOpen();
                return SUCCESS;
        }
        
@@ -61,7 +67,10 @@ public class EditStudyAction extends DisplayStudyStepAction {
                Study study = _openStudy.getStudyObject();
                
                getStudyService().removeStudyAsReference(study);
-               
+
+               _myindex = null;
+               _selection = _openStudy.getSelection(); //actually, value doesn't matter, it just has to be not null
+               doOpen();
                return SUCCESS;
        }
 }
\ No newline at end of file