mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-14 01:27:34 -05:00
wip: #34 - finishes the airspy tuner editor panel and adds tuner info
button to the r820t tuner editor to view serial number and misc info.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package source.tuner.configuration;
|
||||
|
||||
import gui.editor.Editor;
|
||||
import source.tuner.TunerType;
|
||||
|
||||
public abstract class TunerConfigurationEditor extends Editor<TunerConfiguration>
|
||||
{
|
||||
@@ -14,8 +13,6 @@ public abstract class TunerConfigurationEditor extends Editor<TunerConfiguration
|
||||
mTunerConfigurationModel = model;
|
||||
}
|
||||
|
||||
public abstract boolean canEdit( TunerType tunerType );
|
||||
|
||||
public TunerConfigurationModel getTunerConfigurationModel()
|
||||
{
|
||||
return mTunerConfigurationModel;
|
||||
|
||||
@@ -4,7 +4,9 @@ import gui.editor.Editor;
|
||||
import gui.editor.EmptyEditor;
|
||||
import source.tuner.Tuner;
|
||||
import source.tuner.TunerType;
|
||||
import source.tuner.airspy.AirspyTuner;
|
||||
import source.tuner.airspy.AirspyTunerConfiguration;
|
||||
import source.tuner.airspy.AirspyTunerEditor;
|
||||
import source.tuner.fcd.proV1.FCD1TunerConfiguration;
|
||||
import source.tuner.fcd.proplusV2.FCD2TunerConfiguration;
|
||||
import source.tuner.hackrf.HackRFTunerConfiguration;
|
||||
@@ -45,7 +47,7 @@ public class TunerConfigurationFactory
|
||||
switch( tuner.getTunerType() )
|
||||
{
|
||||
case AIRSPY_R820T:
|
||||
break;
|
||||
return new AirspyTunerEditor( model, (AirspyTuner)tuner );
|
||||
case ELONICS_E4000:
|
||||
break;
|
||||
case FUNCUBE_DONGLE_PRO:
|
||||
|
||||
Reference in New Issue
Block a user