mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-13 00:57:31 -05:00
Work in progress - updates channel component editors and changes
functionality so that the editor starts up without a channel displayed and as each channel row is selected in the channels table, the editor is updated with the channel configuration. Likewise, the channel editor is now a channel event listener on the channel model and will maintain channel state if the user changes channel configuration in any of the external channel controllers like the spectral display or the channel list.
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
package record.config;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
@@ -28,19 +29,19 @@ import controller.config.Configuration;
|
||||
@XmlRootElement( name = "record_configuration" )
|
||||
public class RecordConfiguration extends Configuration
|
||||
{
|
||||
private ArrayList<RecorderType> mRecorders = new ArrayList<RecorderType>();
|
||||
private List<RecorderType> mRecorders = new ArrayList<>();
|
||||
|
||||
public RecordConfiguration()
|
||||
{
|
||||
}
|
||||
|
||||
@XmlElement( name = "recorder" )
|
||||
public ArrayList<RecorderType> getRecorders()
|
||||
public List<RecorderType> getRecorders()
|
||||
{
|
||||
return mRecorders;
|
||||
}
|
||||
|
||||
public void setRecorders( ArrayList<RecorderType> recorders )
|
||||
public void setRecorders( List<RecorderType> recorders )
|
||||
{
|
||||
mRecorders = recorders;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user