From 0258b29e5e2f81e39601acde6d9a417fdab27e45 Mon Sep 17 00:00:00 2001 From: "Nicholas.Jee" Date: Tue, 15 Jun 2021 17:29:17 +0800 Subject: [PATCH] 1.0.0 init --- Readme.md | 4 +++ image.png | Bin 0 -> 39664 bytes plugin.xml | 5 ++-- .../tabledata/factory/demo/DemoLoader.java | 19 ++++++++++---- .../tabledata/factory/demo/DemoResolver.java | 24 +++++++++++++++--- 5 files changed, 40 insertions(+), 12 deletions(-) create mode 100644 Readme.md create mode 100644 image.png diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..0f444d2 --- /dev/null +++ b/Readme.md @@ -0,0 +1,4 @@ +## 数据工厂二次开发DEMO + +#### 效果图 +![](image.png) diff --git a/image.png b/image.png new file mode 100644 index 0000000000000000000000000000000000000000..0a561c4ff9fe5972b1aa2ba67bb0ebe7999430c3 GIT binary patch literal 39664 zcmeFa2V7Ixx;KpDL7a(-qXLf7oUu}6EFe+_9Yq8|fe1*6z$gMr73o9)8&Ob{4q~C0 zFcRsZMu8BeOA)0?A}x^;AcXXH?TsSN@!m7vDfc_?eb4+ndSEAOukzIYQ`YsP#`?>@ zTlbxah{$q-L%*7eh=?r}5&6s0rAxqX#woIk!9R<!vgDko_10>YAJ%QX zZ(rhXWYU#?L|xopb7?qcc=+Pd@YXoT8yo1k!fE{5a+|CfqRVJ@xyxwN7WSagX!%TU z7EV((gqd|B@Og}dot2FzNrDt1p%_u8N-Uc#jX}k2G>D%2({@{>_q7Ob#_maan>!y2)$1VnQ=Fr`@x|NK?I*fMuIBy}mi`+Y=5;Fbh2&u%UNJ71j*YwB9`*b`} zIF7H_#?N^tjwU>?eCj`CONt6PAIMM@=2j5cgVxGRH+_0X+KM%SL@bt$L31*bBCOr4 zk}iZIcAqQBd-K$uYADCs&Ub#WV7WVmnDV||9X1x-9#ynya%g$V$rCGkFLc$MZ+NxK z)vZwe?)=VZHY*}3T`}w3W;4%??}|)N zl&JA@PJ)B!0S7pGY{5=A3#0;xF^YJ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cs*A^RjPtm0JXIGUdOoA*vp=1rd~_q^M2Hk@{^nu zoYvMhc#f%PNtjgQjw!j{Sxgs56j0@!hdm}vp5zgga&IHkB>MGw`C@?-N$DSE|w=kE6B8khr`rnsg zAQI6awC#uwF3zK5yQINQW@|klRUBew`!#z=n8N#}PA_I%EpkS_}Qz zu!HujHc@|cEolUp?N)rbw-360MstH4lG=ho&6pq!Kzr9-9BT~0=nMpUzgkgU;Zr4;7K}do^qvXd9 zmrUHOb77M!6JW%J@c$bv1wKg-F|O6$l(jg$zd6SWWq2~nAzA1ye7bmoWzDzk%|5ecAi*FZq%k-6%~@WU<=h`!FMo8hY?&D^q4_|tK~iN_ zaM0R**5Wt?^Sq|Yv*VRv2DE#n5N}_1m(2<%%zR>{MxBYNi+7#3sf%yjWm6YF-o&7x zn505=mvt8Z5M$e62>s)*lh{=tPmH{(9mmW=RhOFd9`kzXn6=uq^}(0wvJum-O2Z_( zmC=UG^sWu6ayxG3|1GIG)5)k_F#MF`Y^=2{`x)ncwUvj^b4sqdg0H9ilFTjPZ#gU+ zdCq$M_uOEuz$Nxwf@?AZ1iy~iKdN^pSeJy|Ngtj{17m#b{i()MA_cC#t78^NJ|b}zHgF7wN&m-0 zPEN4Kr8nMTnP<=?r~Z}zoE2XZ#~DMg0^(RFo`7*b0US> zlG-$sypi6-HHale1+Ple+NM_VuxF!K8*IC(ji8eu<$HXA%C|0!|MK)&^3PK)C8(Nn zB_Vh#Iq!%}in2+>**f}XCRPuQDE!1ozWFvWlk7TmdPAMt&nBHLc7k>bx7*Y2D6iXL z)FYwt<+C86uI3C%5N1Nu$NEl>?t4j&(-F(?KqNOud6I?rYb%7 literal 0 HcmV?d00001 diff --git a/plugin.xml b/plugin.xml index a2ad36a..8b0ec9b 100644 --- a/plugin.xml +++ b/plugin.xml @@ -1,7 +1,7 @@ - com.fr.plugin.jee.tabledata.factory.combo - + com.fr.plugin.jee.tabledata.factory.demo + yes 1.0 10.0 @@ -17,7 +17,6 @@ - diff --git a/src/main/java/com/fr/plugin/tptj/tabledata/factory/demo/DemoLoader.java b/src/main/java/com/fr/plugin/tptj/tabledata/factory/demo/DemoLoader.java index be85256..a59ca88 100644 --- a/src/main/java/com/fr/plugin/tptj/tabledata/factory/demo/DemoLoader.java +++ b/src/main/java/com/fr/plugin/tptj/tabledata/factory/demo/DemoLoader.java @@ -1,19 +1,28 @@ package com.fr.plugin.tptj.tabledata.factory.demo; +import com.fr.plugin.transform.ExecuteFunctionRecord; +import com.fr.plugin.transform.FunctionRecorder; import com.fr.script.Calculator; import com.fr.stable.ParameterProvider; import com.tptj.plugin.hg.impl.AbstractLoader; - +@FunctionRecorder public class DemoLoader extends AbstractLoader { + /** + * + * @param calculator 模板算子,负责各种计算 + * @param parameterProviders 额外参数,others里没匹配的部分,可以用来实现一些额外逻辑 + * @param others 装载器面板内容,已自动匹配 + * @return + */ @Override - public Object load(Calculator calculator, ParameterProvider[] parameterProviders, String s) { + public Object load(Calculator calculator, ParameterProvider[] parameterProviders, String others) { - return s; + return others; } - + @ExecuteFunctionRecord @Override public String getName() { - return "DEMO"; + return "DEMO_LOADER"; //有国际化需求的这里可以直接写i18n的key } @Override diff --git a/src/main/java/com/fr/plugin/tptj/tabledata/factory/demo/DemoResolver.java b/src/main/java/com/fr/plugin/tptj/tabledata/factory/demo/DemoResolver.java index 5f45419..d91f074 100644 --- a/src/main/java/com/fr/plugin/tptj/tabledata/factory/demo/DemoResolver.java +++ b/src/main/java/com/fr/plugin/tptj/tabledata/factory/demo/DemoResolver.java @@ -1,22 +1,38 @@ package com.fr.plugin.tptj.tabledata.factory.demo; +import com.fr.log.FineLoggerFactory; import com.tptj.plugin.hg.impl.AbstractLoader; import com.tptj.plugin.hg.impl.AbstractResolver; import com.tptj.plugin.hg.stable.SimpleDataModel; public class DemoResolver extends AbstractResolver { + /** + * + * @param data 来自装载器传来的数据 + * @param others 来自解析器面板,参数已经自动匹配了 + * @return + */ @Override - public SimpleDataModel parse(Object o, String s) { - return null; + public SimpleDataModel parse(Object data, String others) { + SimpleDataModel dm = new SimpleDataModel(); + dm.addColumn("data"); //添加一个列名 + try { + dm.addRow(new String[]{(String) data}); //添加一列数据,这里把原始数据塞到了第一行 + return dm; + } catch (Exception e) { + FineLoggerFactory.getLogger().error(e.getMessage()); + } + + return new SimpleDataModel(); } @Override public String getName() { - return null; + return "DEMO_RESOLVER"; //有国际化需求的这里可以直接写i18n的key } @Override public String getDefaultConfig() { - return null; + return "DefaultConfig"; } }