thumbRepository.request(downProf.getProxyProfile(), tempDir, id);
final RequestProcess rp = new RequestProcess(downProf, id, convProf);
- taskManager.add(rp);
- targetModel.addTarget(new Target(rp));
- initInputPanel();
+ final boolean res = taskManager.add(rp);
+ if (res) {
+ targetModel.addTarget(new Target(rp));
+ initInputPanel();
+ } else {
+ fldInputMessage.setText("行うべき処理がありません");
+ }
} catch (Throwable th) {
logger.error(null, th);
JOptionPane.showMessageDialog(MainFrame.this, th.getMessage(), "中断しました", JOptionPane.ERROR_MESSAGE);
// End of variables declaration//GEN-END:variables
private void initInputPanel() {
+ fldInputMessage.setText("");
initMainTab();
initFfmpegTab();
tbpInput.setSelectedIndex(0);
private class InqubusCommentProfile extends ConfigCommentProfile {
private final boolean download;
+ private final boolean ownerCommentOnly;
private final File dir;
private final String fileName;
private final File localFile;
this.dir = new File(p.getCommentDir());
this.fileName = fldComment.getText();
this.localFile = null;
+ this.ownerCommentOnly = cbOwnerComment.isSelected();
} else {
this.dir = null;
this.fileName = null;
this.localFile = new File(fldComment.getText());
+ this.ownerCommentOnly = false;
}
if(cbBackLog.isSelected()) {
}
@Override
+ public boolean isOwnerCommentOnly(){
+ return this.ownerCommentOnly;
+ }
+
+ @Override
public File getDir() {
return this.dir;
}