/[svn]/jsampler/trunk/src/org/jsampler/CC.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/CC.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1728 by iliev, Wed Mar 19 10:07:36 2008 UTC revision 1729 by iliev, Tue Apr 29 22:22:40 2008 UTC
# Line 400  public class CC { Line 400  public class CC {
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) {
# Line 420  public class CC { Line 421  public class CC {
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>&lt;jsampler_home&gt;/orchestras.xml</code>.           * Loads the orchestras described in <code>&lt;jsampler_home&gt;/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

Legend:
Removed from v.1728  
changed lines
  Added in v.1729

  ViewVC Help
Powered by ViewVC