+ System.out.println("start load data");\r
+ // display a loading gif\r
+// Utils.displayLoadingGif(true);\r
+ \r
+ \r
+ // create a new empty base and load data from CDM\r
+ if(XPApp.cdmAdapter != null){\r
+ // create a new base\r
+// XPApp.getMainframe().newBase("baseTest");\r
+ // specify that the current base is not new (needed to be able to add images), not really needed\r
+ XPApp.isNewBase = false;\r
+\r
+ XPApp.getMainframe().displayNbVariable();\r
+ XPApp.getMainframe().getControler().displayJifVarTree();\r
+ \r
+// if (XPApp.getCurrentBase() != null) {\r
+//// adaptaterCdmXper.createWorkingSet();\r
+// adapterCdmXper.load();\r
+//\r
+// XPApp.getMainframe().displayNbVariable();\r
+// XPApp.getMainframe().getControler().displayJifVarTree();\r
+// }\r
+ }\r
+ // undisplay a loading gif\r
+ Utils.displayLoadingGif(false);\r
+ System.out.println("data loaded :::");\r
+\r