Browse Source

多个提交不能生效的问题

master
richie 4 years ago
parent
commit
4b0b7138f1
  1. 13
      encrypt.xml
  2. 3
      plugin.xml
  3. 4
      src/main/java/com/fr/plugin/file/submit/oss/ui/OssPathConfigPane.java

13
encrypt.xml

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project>
<target name="compile_encrypt_javas" depends="copyFiles">
<echo message="加密文件"/>
<echo message="${projectDir}"/>
<taskdef name="pretreatment" classname="com.fr.plugin.pack.PluginPretreatmentTask">
<classpath refid="compile.classpath"/>
</taskdef>
<pretreatment baseDir="${projectDir}"/>
</target>
<target name="compile_plain_javas" depends="copyFiles">
</target>
</project>

3
plugin.xml

@ -2,7 +2,7 @@
<id>com.fr.plugin.file.submit.oss</id>
<name><![CDATA[OSS文件上传下载]]></name>
<active>yes</active>
<version>4.7.1</version>
<version>4.7.2</version>
<env-version>10.0</env-version>
<jartime>2019-06-13</jartime>
<vendor>author</vendor>
@ -11,6 +11,7 @@
<item type="plugin" key="com.fr.plugin.oss.universal"/>
</dependence>
<change-notes><![CDATA[
[2020-07-09]修复不能设置多个自定义提交项的问题。<br/>
[2020-05-29]允许上传空文件。<br/>
[2020-04-23]新文件名即使没有后缀,上传后也用新文件名。<br/>
[2020-04-23]适配FineKit。<br/>

4
src/main/java/com/fr/plugin/file/submit/oss/ui/OssPathConfigPane.java

@ -13,10 +13,11 @@ import java.awt.*;
public class OssPathConfigPane extends BasicBeanPane<OssSubmitJob> {
private UITableEditorPane<OssSubmitTarget> tableEditorPane;
private OssSubmitPathTableModel model = new OssSubmitPathTableModel();
public OssPathConfigPane() {
setLayout(new BorderLayout());
this.tableEditorPane = new UITableEditorPane<OssSubmitTarget>(new OssSubmitPathTableModel());
this.tableEditorPane = new UITableEditorPane<OssSubmitTarget>(model);
this.add(tableEditorPane, BorderLayout.CENTER);
}
@ -39,6 +40,7 @@ public class OssPathConfigPane extends BasicBeanPane<OssSubmitJob> {
for (OssSubmitTarget target : targetList) {
submitTargetConfig.addSubmitTarget(target);
}
model.clear();
submitJob.setSubmitTargetConfig(submitTargetConfig);
return submitJob;
}

Loading…
Cancel
Save