|
|
|
@ -12,10 +12,11 @@ import java.awt.*;
|
|
|
|
|
public class S3PathConfigPane extends BasicBeanPane<S3SubmitJob> { |
|
|
|
|
|
|
|
|
|
private UITableEditorPane<S3SubmitTarget> tableEditorPane; |
|
|
|
|
private S3SubmitPathTableModel model = new S3SubmitPathTableModel(); |
|
|
|
|
|
|
|
|
|
public S3PathConfigPane() { |
|
|
|
|
setLayout(new BorderLayout()); |
|
|
|
|
this.tableEditorPane = new UITableEditorPane<>(new S3SubmitPathTableModel()); |
|
|
|
|
this.tableEditorPane = new UITableEditorPane<>(model); |
|
|
|
|
this.add(tableEditorPane, BorderLayout.CENTER); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -38,6 +39,7 @@ public class S3PathConfigPane extends BasicBeanPane<S3SubmitJob> {
|
|
|
|
|
for (S3SubmitTarget target : targetList) { |
|
|
|
|
submitTargetConfig.addSubmitTarget(target); |
|
|
|
|
} |
|
|
|
|
model.clear(); |
|
|
|
|
submitJob.setSubmitTargetConfig(submitTargetConfig); |
|
|
|
|
return submitJob; |
|
|
|
|
} |
|
|
|
|