90 |
public |
public |
91 |
JSOrchestraPane(OrchestraModel orchestra) { |
JSOrchestraPane(OrchestraModel orchestra) { |
92 |
instrumentTable = new InstrumentTable(); |
instrumentTable = new InstrumentTable(); |
93 |
|
instrumentTable.setFillsViewportHeight(true); |
94 |
setOrchestra(orchestra); |
setOrchestra(orchestra); |
95 |
|
|
96 |
setLayout(new BorderLayout()); |
setLayout(new BorderLayout()); |
285 |
|
|
286 |
LoadInstrumentAction(SamplerChannelModel model) { |
LoadInstrumentAction(SamplerChannelModel model) { |
287 |
String s = "instrumentsdb.actions.loadInstrument.onChannel"; |
String s = "instrumentsdb.actions.loadInstrument.onChannel"; |
288 |
putValue(Action.NAME, i18n.getMenuLabel(s, model.getChannelId())); |
int i = CC.getSamplerModel().getChannelIndex(model) + 1; |
289 |
|
putValue(Action.NAME, i18n.getMenuLabel(s, i)); |
290 |
channelModel = model; |
channelModel = model; |
291 |
} |
} |
292 |
|
|