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:
denny
2016-01-11 20:35:53 -05:00
parent 4be63d4b95
commit 7d1ec344de
13 changed files with 381 additions and 323 deletions

View File

@@ -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;
}