--- jsampler/trunk/src/org/jsampler/view/fantasia/NormalChannelOptionsView.java 2008/09/30 09:23:34 1784
+++ jsampler/trunk/src/org/jsampler/view/fantasia/NormalChannelOptionsView.java 2008/10/07 00:07:14 1785
@@ -58,6 +58,7 @@
import org.jsampler.event.SamplerEvent;
import org.jsampler.event.SamplerListener;
+import org.jsampler.view.fantasia.basic.*;
import org.jsampler.view.std.JSChannelOutputRoutingDlg;
import org.linuxsampler.lscp.AudioOutputDevice;
@@ -575,6 +576,7 @@
* @param e A MidiDeviceListEvent
* instance providing the event information.
*/
+ @Override
public void
deviceAdded(MidiDeviceListEvent e) {
cbMidiDevice.addItem(e.getMidiDeviceModel().getDeviceInfo());
@@ -585,6 +587,7 @@
* @param e A MidiDeviceListEvent
* instance providing the event information.
*/
+ @Override
public void
deviceRemoved(MidiDeviceListEvent e) {
cbMidiDevice.removeItem(e.getMidiDeviceModel().getDeviceInfo());
@@ -595,6 +598,7 @@
* @param e An AudioDeviceListEvent
* instance providing the event information.
*/
+ @Override
public void
entryAdded(ListEvent e) {
cbAudioDevice.addItem(e.getEntry().getDeviceInfo());
@@ -605,11 +609,13 @@
* @param e An AudioDeviceListEvent
* instance providing the event information.
*/
+ @Override
public void
entryRemoved(ListEvent e) {
cbAudioDevice.removeItem(e.getEntry().getDeviceInfo());
}
+ @Override
public void
settingsChanged(MidiDeviceEvent e) {
if(isUpdate()) {
@@ -634,6 +640,7 @@
private class MapListListener implements ListListener {
/** Invoked when a new MIDI instrument map is added to a list. */
+ @Override
public void
entryAdded(ListEvent e) {
cbInstrumentMap.insertItemAt(e.getEntry(), cbInstrumentMap.getItemCount());
@@ -642,6 +649,7 @@
}
/** Invoked when a new MIDI instrument map is removed from a list. */
+ @Override
public void
entryRemoved(ListEvent e) {
cbInstrumentMap.removeItem(e.getEntry());