/** * Volume control used by the button. * * @return volume control used by the button. */ private VolumeControl getVolumeControl() { VolumeControl volumeControl = GuiActivator.getMediaService().getInputVolumeControl(); volumeControl.addVolumeChangeListener(this); return volumeControl; }