public class AdjustTime extends JFrame
{
public static final String PROGRAM_NAME = "AdjustTime for JOSM";
- public static final String PROGRAM_VARSION = "3.0";
- public static final String PROGRAM_UPDATE = "2016/10/04";
+ public static final String PROGRAM_VARSION = "3.1";
+ public static final String PROGRAM_UPDATE = "2017/05/15";
// Used for addNotify check.
boolean fComponentsAdjusted = false;
ParameterPanelImageFile arg2_baseTimeImg;
ParameterPanel arg3_basetiome;
JCheckBox outputIMG; // IMGの変換 する/しない
+ JCheckBox outputIMG_all; // 'out of GPX time'でもIMGの変換をする {ON | OFF}
JCheckBox exifON; // EXIF 書き出しモード / !(EXIFの書き換えはしない)
JCheckBox gpxOutputWpt; // GPXに<WPT>を書き出す
JCheckBox gpxOverwriteMagvar; // ソースGPXの<MAGVAR>を無視する
else if (object == outputIMG) {
outputIMG_Action(event);
}
+ else if (object == outputIMG_all) {
+ outputIMGall_Action(event);
+ }
else if (object == exifON) {
exifON_Action(event);
}
outputIMG = new JCheckBox("IMGの変換をする", Boolean.parseBoolean(params.getProperty(AppParameters.IMG_OUTPUT)));
tmpPanel5.add(outputIMG);
+ outputIMG_all = new JCheckBox("GPXファイル時間外のファイルもコピーする", Boolean.parseBoolean(params.getProperty(AppParameters.IMG_OUTPUT_ALL)));
+ tmpPanel5.add(outputIMG_all);
+
arg5_outputFolder = new ParameterPanelFolder("出力フォルダ: ", params.getProperty(AppParameters.IMG_OUTPUT_FOLDER));
tmpPanel5.add(arg5_outputFolder);
arg2_baseTimeImg.argField.addActionListener(lSymAction);
arg2_baseTimeImg.openButton.addActionListener(lSymAction);
doButton.addActionListener(lSymAction);
+ outputIMG_all.addActionListener(lSymAction);
exifON.addActionListener(lSymAction);
gpxOutputSpeed.addActionListener(lSymAction);
noFirstNode.addActionListener(lSymAction);
arg5_outputFolder.setEnabled(outputIMG.isEnabled());
}
+ void outputIMGall_Action (ActionEvent event) {
+ }
+
/**
* checkbox[EXIF書き出し]を変更した場合のアクション
* @param event
this.params.setProperty(AppParameters.IMG_TIME, arg3_basetiome.getText());
this.params.setProperty(AppParameters.IMG_OUTPUT, String.valueOf(outputIMG.isSelected()));
this.params.setProperty(AppParameters.IMG_OUTPUT_FOLDER, arg5_outputFolder.getText());
+ this.params.setProperty(AppParameters.IMG_OUTPUT_ALL, String.valueOf(exifON.isSelected()));
this.params.setProperty(AppParameters.IMG_OUTPUT_EXIF, String.valueOf(exifON.isSelected()));
this.params.setProperty(AppParameters.GPX_OVERWRITE_MAGVAR, String.valueOf(gpxOverwriteMagvar.isSelected()));
this.params.setProperty(AppParameters.GPX_OUTPUT_SPEED, String.valueOf(gpxOutputSpeed.isSelected()));