/[svn]/jsampler/trunk/src/org/jsampler/view/classic/OrchestrasPage.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/view/classic/OrchestrasPage.java

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

revision 1540 by iliev, Mon Dec 3 23:22:02 2007 UTC revision 2288 by iliev, Wed Nov 23 21:19:44 2011 UTC
# Line 1  Line 1 
1  /*  /*
2   *   JSampler - a java front-end for LinuxSampler   *   JSampler - a java front-end for LinuxSampler
3   *   *
4   *   Copyright (C) 2005-2006 Grigor Iliev <grigor@grigoriliev.com>   *   Copyright (C) 2005-2011 Grigor Iliev <grigor@grigoriliev.com>
5   *   *
6   *   This file is part of JSampler.   *   This file is part of JSampler.
7   *   *
# Line 25  package org.jsampler.view.classic; Line 25  package org.jsampler.view.classic;
25  import java.awt.Dimension;  import java.awt.Dimension;
26    
27  import java.awt.datatransfer.DataFlavor;  import java.awt.datatransfer.DataFlavor;
 import java.awt.datatransfer.Transferable;  
28    
29  import java.awt.event.ActionEvent;  import java.awt.event.ActionEvent;
30  import java.awt.event.ActionListener;  import java.awt.event.ActionListener;
31  import java.awt.event.MouseAdapter;  import java.awt.event.MouseAdapter;
32  import java.awt.event.MouseEvent;  import java.awt.event.MouseEvent;
33    
 import java.util.logging.Level;  
   
34  import javax.swing.BorderFactory;  import javax.swing.BorderFactory;
35  import javax.swing.Box;  import javax.swing.Box;
36  import javax.swing.BoxLayout;  import javax.swing.BoxLayout;
# Line 43  import javax.swing.JScrollPane; Line 40  import javax.swing.JScrollPane;
40  import javax.swing.JSeparator;  import javax.swing.JSeparator;
41  import javax.swing.TransferHandler;  import javax.swing.TransferHandler;
42    
43  import net.sf.juife.LinkButton;  import net.sf.juife.swing.LinkButton;
44  import net.sf.juife.NavigationPage;  import net.sf.juife.swing.NavigationPage;
45    
46  import org.jsampler.CC;  import org.jsampler.CC;
47  import org.jsampler.DefaultOrchestraModel;  import org.jsampler.DefaultOrchestraModel;
 import org.jsampler.HF;  
48  import org.jsampler.OrchestraInstrument;  import org.jsampler.OrchestraInstrument;
49  import org.jsampler.OrchestraModel;  import org.jsampler.OrchestraModel;
50    
# Line 57  import org.jsampler.event.OrchestraEvent Line 53  import org.jsampler.event.OrchestraEvent
53  import org.jsampler.event.ListEvent;  import org.jsampler.event.ListEvent;
54  import org.jsampler.event.ListListener;  import org.jsampler.event.ListListener;
55    
 import org.jsampler.view.InstrumentTable;  
 import org.jsampler.view.InstrumentTableModel;  
56  import org.jsampler.view.JSChannel;  import org.jsampler.view.JSChannel;
57  import org.jsampler.view.JSChannelsPane;  import org.jsampler.view.JSChannelsPane;
58    import org.jsampler.view.swing.InstrumentTable;
59    import org.jsampler.view.swing.SHF;
60    
61  import static org.jsampler.view.classic.ClassicI18n.i18n;  import static org.jsampler.view.classic.ClassicI18n.i18n;
62    
# Line 160  public class OrchestrasPage extends Navi Line 156  public class OrchestrasPage extends Navi
156                  }                  }
157                                    
158                  if(chn == null) {                  if(chn == null) {
159                          HF.showErrorMessage("Select channel!");                          SHF.showErrorMessage("Select channel!");
160                          return;                          return;
161                  }                  }
162                                    
# Line 307  public class OrchestrasPage extends Navi Line 303  public class OrchestrasPage extends Navi
303                    
304          }          }
305                    
306          private class InstrTableModel extends org.jsampler.view.InstrumentTableModel {          private class InstrTableModel extends org.jsampler.view.swing.InstrumentTableModel {
307                  /**                  /**
308                   * Returns <code>true</code> if the cell at                   * Returns <code>true</code> if the cell at
309                   * <code>row</code> and <code>col</code> is editable.                   * <code>row</code> and <code>col</code> is editable.

Legend:
Removed from v.1540  
changed lines
  Added in v.2288

  ViewVC Help
Powered by ViewVC