Prefs: Don't break compatibility 55/8955/1
Calixte DENIZET [Fri, 7 Sep 2012 09:27:40 +0000 (11:27 +0200)]
Change-Id: I053d3c59127fcc32097a0980794d04207f78280a

scilab/modules/preferences/src/java/org/scilab/modules/preferences/XConfigManager.java

index a2b6e4d..dfeab52 100644 (file)
@@ -151,6 +151,13 @@ public final class XConfigManager extends XCommonManager {
         XConfigManager.displayAndWait(initialPath);
     }
 
+    /**
+     * Opens a dialog to setup preferences.
+     */
+    public static void openPreferences() {
+        XConfigManager.displayAndWait(null);
+    }
+
     /** Secondary dialog for help.*/
     private static JDialog help = null;