From sletellier@users.labs.libre-entreprise.org Mon Jun 15 00:26:01 2026
From: sletellier@users.labs.libre-entreprise.org
To: isis-fish-commits@list.isis-fish.org
Subject: [Isis-fish-commits] r2050 -
	isis-fish/trunk/src/main/java/fr/ifremer/isisfish/ui/sensitivity
Date: Tue, 31 Mar 2009 12:04:30 +0200
Message-ID: <20090331100430.BD68A461706@labs.libre-entreprise.org>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============3575009516218375628=="

--===============3575009516218375628==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Author: sletellier
Date: 2009-03-31 10:04:30 +0000 (Tue, 31 Mar 2009)
New Revision: 2050

Modified:
   isis-fish/trunk/src/main/java/fr/ifremer/isisfish/ui/sensitivity/EditorHel=
per.java
   isis-fish/trunk/src/main/java/fr/ifremer/isisfish/ui/sensitivity/FactorWiz=
ard.jaxx
Log:
Set value when continue factor become discret

Modified: isis-fish/trunk/src/main/java/fr/ifremer/isisfish/ui/sensitivity/Ed=
itorHelper.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- isis-fish/trunk/src/main/java/fr/ifremer/isisfish/ui/sensitivity/EditorHe=
lper.java	2009-03-31 09:23:19 UTC (rev 2049)
+++ isis-fish/trunk/src/main/java/fr/ifremer/isisfish/ui/sensitivity/EditorHe=
lper.java	2009-03-31 10:04:30 UTC (rev 2050)
@@ -282,6 +282,11 @@
         }
         return result;
   }
+
+  public static JComponent getEditorWithValue(JComponent c) {
+      return getEditorWithValue(c, getValue(c));
+  }
+ =20
   public static JComponent getEditorWithValue(JComponent c, Object value) {
       JComponent result =3D null;
         try {

Modified: isis-fish/trunk/src/main/java/fr/ifremer/isisfish/ui/sensitivity/Fa=
ctorWizard.jaxx
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- isis-fish/trunk/src/main/java/fr/ifremer/isisfish/ui/sensitivity/FactorWi=
zard.jaxx	2009-03-31 09:23:19 UTC (rev 2049)
+++ isis-fish/trunk/src/main/java/fr/ifremer/isisfish/ui/sensitivity/FactorWi=
zard.jaxx	2009-03-31 10:04:30 UTC (rev 2050)
@@ -152,7 +152,13 @@
         for (Object o : values.values()) {
             i++;
             cache =3D o;
-            JComponent c =3D EditorHelper.getEditorWithValue(cOrigine, o);
+            JComponent c =3D null;
+            if (o !=3D null){
+                c =3D EditorHelper.getEditorWithValue(cOrigine, o);
+            }
+            else {
+                c =3D EditorHelper.getEditorWithValue(cOrigine);
+            }
             discretComponents.add(c);
             JScrollPane js =3D new JScrollPane(c);
             tabPane.addTab("Factor " + i, js);


--===============3575009516218375628==--


