/[svn]/jsampler/trunk/src/org/jsampler/view/std/StdA4n.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/view/std/StdA4n.java

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

revision 2147 by iliev, Fri Jun 12 01:22:41 2009 UTC revision 2148 by iliev, Thu Oct 14 14:45:42 2010 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-2009 Grigor Iliev <grigor@grigoriliev.com>   *   Copyright (C) 2005-2010 Grigor Iliev <grigor@grigoriliev.com>
5   *   *
6   *   This file is part of JSampler.   *   This file is part of JSampler.
7   *   *
# Line 508  public class StdA4n { Line 508  public class StdA4n {
508                          chnPane = CC.getMainFrame().getChannelsPane(i);                          chnPane = CC.getMainFrame().getChannelsPane(i);
509                          count++;                          count++;
510                          String s = "instrumentsdb.actions.loadInstrument.onPanel";                          String s = "instrumentsdb.actions.loadInstrument.onPanel";
511                          JMenu m = new JMenu(i18n.getMenuLabel(s, i + 1));                          JMenu m = CC.getViewConfig().createMultiColumnMenu(i18n.getMenuLabel(s, i + 1));
512                          for(int j = 0; j < chnPane.getChannelCount(); j++) {                          for(int j = 0; j < chnPane.getChannelCount(); j++) {
513                                  SamplerChannelModel chn = chnPane.getChannel(j).getModel();                                  SamplerChannelModel chn = chnPane.getChannel(j).getModel();
514                                  m.add(new JMenuItem(factory.createLoadInstrumentAction(chn, true)));                                  m.add(new JMenuItem(factory.createLoadInstrumentAction(chn, true)));

Legend:
Removed from v.2147  
changed lines
  Added in v.2148

  ViewVC Help
Powered by ViewVC