]> SALOME platform Git repositories - tools/siman.git/blobdiff - Workspace/Siman/src/org/splat/simer/StudyMenu.java
Salome HOME
Id now is Long instead of Integer. First unit test is created. hibernate-3.5.jar...
[tools/siman.git] / Workspace / Siman / src / org / splat / simer / StudyMenu.java
index ff571ab78825ea1898a70900fc914a5c3f61ffc8..e530e68f6348ec63dfde03f3eb291297d9b49634 100644 (file)
@@ -91,7 +91,7 @@ public class StudyMenu extends SlidMenu {
 //          WARNING: The selection number must end the action's parameters for the need of refreshGivenStepItem()
           } else {
                Scenario group = (Scenario)step.getOwner();
-               int      index = group.getIndex();
+               long      index = group.getIndex();
                String   value = index + "." + number;
                if      (group.isCheckedout()) icon = "icon.checkedout.png";
                else if (getScenarioService().isEmpty(group))      icon = "icon.empty.png";
@@ -140,7 +140,7 @@ public class StudyMenu extends SlidMenu {
                addItem("0." + number, "menu.step." + number, icon, "step-study?selection=0." + number);
           } else {
                Scenario group = (Scenario)step.getOwner();
-               int      index = group.getIndex();
+               long      index = group.getIndex();
                String   value = index + "." + number;
                if (index != scenew.getIndex()) {
               if      (group.isCheckedout()) icon = "icon.checkedout.png";