mirror of
https://github.com/PAMGuard/PAMGuard.git
synced 2024-11-22 07:02:29 +00:00
CTD Fixes
Couple more fixes to menus and datablock selection
This commit is contained in:
parent
c641c58e4f
commit
4b3a37636b
2
pom.xml
2
pom.xml
@ -4,7 +4,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>org.pamguard</groupId>
|
<groupId>org.pamguard</groupId>
|
||||||
<artifactId>Pamguard</artifactId>
|
<artifactId>Pamguard</artifactId>
|
||||||
<version>2.02.04d</version>
|
<version>2.02.04f</version>
|
||||||
<name>Pamguard Java12+</name>
|
<name>Pamguard Java12+</name>
|
||||||
<description>Pamguard for Java 12+, using Maven to control dependcies</description>
|
<description>Pamguard for Java 12+, using Maven to control dependcies</description>
|
||||||
<url>www.pamguard.org</url>
|
<url>www.pamguard.org</url>
|
||||||
|
@ -94,7 +94,7 @@ public class CTSwingGUI extends PamControlledGUISwing {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public JMenuItem createDetectionMenu(Frame parentFrame) {
|
public JMenuItem createDetectionMenu(Frame parentFrame) {
|
||||||
JMenu submenu = new JMenu("Click Train Detector");
|
JMenu submenu = new JMenu(clickTrainControl.getUnitName());
|
||||||
|
|
||||||
JMenuItem menuItem = new JMenuItem("Detection Settings ...");
|
JMenuItem menuItem = new JMenuItem("Detection Settings ...");
|
||||||
|
|
||||||
|
@ -511,7 +511,7 @@ public class ClickTrainAlgorithmPaneFX extends SettingsPane<ClickTrainParams> {
|
|||||||
|
|
||||||
// and fill in the data source list (may have changed - or might in later versions)
|
// and fill in the data source list (may have changed - or might in later versions)
|
||||||
ArrayList<PamDataBlock> rd = PamController.getInstance().getDataBlocks(ClickDetection.class, true);
|
ArrayList<PamDataBlock> rd = PamController.getInstance().getDataBlocks(ClickDetection.class, true);
|
||||||
PamDataBlock datablock = PamController.getInstance().getRawDataBlock(clickTrainParams.dataSourceName);
|
PamDataBlock datablock = PamController.getInstance().getDataBlockByLongName(clickTrainParams.dataSourceName);
|
||||||
|
|
||||||
//use the data selector.
|
//use the data selector.
|
||||||
dataSelectorCheckBox.setSelected(clickTrainParams.useDataSelector);
|
dataSelectorCheckBox.setSelected(clickTrainParams.useDataSelector);
|
||||||
|
Loading…
Reference in New Issue
Block a user