WIP #34 - adds tuner model and view tab, preparing to remove the

configuration panel from the controller view.
This commit is contained in:
denny
2016-03-07 20:43:43 -05:00
parent 9273f679f4
commit 6fa3089bc9
6 changed files with 214 additions and 30 deletions

View File

@@ -56,6 +56,7 @@ import properties.SystemProperties;
import record.RecorderManager;
import settings.SettingsManager;
import source.SourceManager;
import source.TunerModel;
import source.tuner.Tuner;
import source.tuner.TunerSelectionListener;
import spectrum.SpectralDisplayPanel;
@@ -130,6 +131,9 @@ public class SDRTrunk
SourceManager sourceManager = new SourceManager( mSettingsManager,
threadPoolManager );
TunerModel tunerModel = new TunerModel();
tunerModel.addTuners( sourceManager.getTunerManager().getTuners() );
ChannelProcessingManager channelProcessingManager =
new ChannelProcessingManager( channelModel, channelMapModel,
@@ -158,7 +162,7 @@ public class SDRTrunk
mControllerPanel = new ControllerPanel( audioManager, configurationControllerModel,
aliasModel, channelModel, channelMapModel, channelProcessingManager,
mapService, mSettingsManager, sourceManager );
mapService, mSettingsManager, sourceManager, tunerModel );
mSpectralPanel = new SpectralDisplayPanel( configurationControllerModel,
channelModel, channelProcessingManager, mSettingsManager );