]> SALOME platform Git repositories - tools/siman.git/blobdiff - Workspace/Siman/src/org/splat/simer/EditScenarioPropertiesAction.java
Salome HOME
Modifications to respect PMD rules.
[tools/siman.git] / Workspace / Siman / src / org / splat / simer / EditScenarioPropertiesAction.java
index 782798f4ca6c56c5addc1c44d878fc14f94c3058..501a3c539ff44269757dee336d129bd5a3721e25 100644 (file)
@@ -76,11 +76,11 @@ public class EditScenarioPropertiesAction extends DisplayStudyStepAction {
                                custom.getString("date.format")); // Locale date display format
                Step step;
 
-               mystudy = getOpenStudy();
-               step = mystudy.getSelectedStep();
+               _openStudy = getOpenStudy();
+               step = _openStudy.getSelectedStep();
                myscenario = (Scenario) step.getOwner(); // The selected step belong to a scenario
                lasdate = datstring.format(myscenario.getLastModificationDate());
-               subject = label.getString("label.study") + " " + mystudy.getTitle();
+               subject = label.getString("label.study") + " " + _openStudy.getTitle();
                
                setMenuProperty("study");
                setTitleProperty("study");
@@ -95,14 +95,14 @@ public class EditScenarioPropertiesAction extends DisplayStudyStepAction {
        public String doCheckin() {
                Step step;
 
-               mystudy = getOpenStudy();
-               selection = mystudy.getSelection();
-               step = mystudy.getSelectedStep();
+               _openStudy = getOpenStudy();
+               _selection = _openStudy.getSelection();
+               step = _openStudy.getSelectedStep();
                myscenario = (Scenario) step.getOwner(); // The selected step belong to a scenario
 
                getScenarioService().checkin(myscenario);
 
-               mystudy.getMenu().refreshGivenStepItem(
+               _openStudy.getMenu().refreshGivenStepItem(
                                getProjectElementService().getFirstStep(myscenario)); // For updating the scenario icon
                
                setMenuProperty("study");
@@ -137,7 +137,7 @@ public class EditScenarioPropertiesAction extends DisplayStudyStepAction {
 
        public StepRights getSelectedStep() {
                // ------------------------------------
-               return mystudy.getSelectedStepRights(); // Forget about the step as only step enabling is tested
+               return _openStudy.getSelectedStepRights(); // Forget about the step as only step enabling is tested
        }
 
        public String getSubject() {