From: mka Date: Thu, 14 Mar 2013 12:15:33 +0000 (+0000) Subject: Refresh screen after "Mark /Remove as reference", "Public/Protect the Study", "Rename... X-Git-Tag: Root_Delivery2_2013_04_22~97 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c515fc9a998dcbd1bac20c039225e7f201c67ac3;p=tools%2Fsiman.git Refresh screen after "Mark /Remove as reference", "Public/Protect the Study", "Rename the scenario" operations. --- diff --git a/Workspace/Siman/src/org/splat/simer/EditScenarioPropertiesAction.java b/Workspace/Siman/src/org/splat/simer/EditScenarioPropertiesAction.java index 26a8d47..5b38bed 100644 --- a/Workspace/Siman/src/org/splat/simer/EditScenarioPropertiesAction.java +++ b/Workspace/Siman/src/org/splat/simer/EditScenarioPropertiesAction.java @@ -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; } diff --git a/Workspace/Siman/src/org/splat/simer/EditStudyAction.java b/Workspace/Siman/src/org/splat/simer/EditStudyAction.java index 928ba6e..c666c04 100644 --- a/Workspace/Siman/src/org/splat/simer/EditStudyAction.java +++ b/Workspace/Siman/src/org/splat/simer/EditStudyAction.java @@ -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