400 |
*/ |
*/ |
401 |
public static InstrumentsDbTreeModel |
public static InstrumentsDbTreeModel |
402 |
getInstrumentsDbTreeModel() { |
getInstrumentsDbTreeModel() { |
403 |
|
if(CC.getSamplerModel().getServerInfo() == null) return null; |
404 |
if(!CC.getSamplerModel().getServerInfo().hasInstrumentsDbSupport()) return null; |
if(!CC.getSamplerModel().getServerInfo().hasInstrumentsDbSupport()) return null; |
405 |
|
|
406 |
if(instrumentsDbTreeModel == null) { |
if(instrumentsDbTreeModel == null) { |
421 |
idtmListeners.remove(l); |
idtmListeners.remove(l); |
422 |
} |
} |
423 |
|
|
424 |
|
private static final LostFilesModel lostFilesModel = new LostFilesModel(); |
425 |
|
|
426 |
|
public static LostFilesModel |
427 |
|
getLostFilesModel() { return lostFilesModel; } |
428 |
|
|
429 |
/** |
/** |
430 |
* Loads the orchestras described in <code><jsampler_home>/orchestras.xml</code>. |
* Loads the orchestras described in <code><jsampler_home>/orchestras.xml</code>. |
431 |
* If file with name <code>orchestras.xml.bkp</code> exist in the JSampler's home |
* If file with name <code>orchestras.xml.bkp</code> exist in the JSampler's home |