--- jsampler/trunk/src/org/jsampler/CC.java 2008/04/29 16:04:42 1728
+++ jsampler/trunk/src/org/jsampler/CC.java 2008/04/29 22:22:40 1729
@@ -400,6 +400,7 @@
*/
public static InstrumentsDbTreeModel
getInstrumentsDbTreeModel() {
+ if(CC.getSamplerModel().getServerInfo() == null) return null;
if(!CC.getSamplerModel().getServerInfo().hasInstrumentsDbSupport()) return null;
if(instrumentsDbTreeModel == null) {
@@ -420,6 +421,11 @@
idtmListeners.remove(l);
}
+ private static final LostFilesModel lostFilesModel = new LostFilesModel();
+
+ public static LostFilesModel
+ getLostFilesModel() { return lostFilesModel; }
+
/**
* Loads the orchestras described in <jsampler_home>/orchestras.xml
.
* If file with name orchestras.xml.bkp
exist in the JSampler's home