forked from demo/example
Browse Source
* commit 'fd8bda2d9f4c96e641a08d5695ab6bd46750b87f': REPORT-15174 为了解决UNDEF-1709的问题,需要帮助文档所使用的代码,每天都要能保证编译通过.修改有问题的api ,加上所有插件的默认实现persist/10.0
zack
6 years ago
61 changed files with 1098 additions and 45 deletions
@ -0,0 +1,67 @@
|
||||
package com.fr.function; |
||||
import com.fr.script.AbstractFunction; |
||||
import com.fr.stable.Primitive; |
||||
public class FlagHtmlColor extends AbstractFunction { |
||||
public Object run(Object[] args) { |
||||
String txt=""; |
||||
String color=""; |
||||
String flag=""; |
||||
if(null==args||args.length==0){ |
||||
return Primitive.ERROR_NAME; |
||||
}else if(args.length==1){ |
||||
txt=args[0].toString(); |
||||
color="red"; |
||||
flag="N"; |
||||
}else if(args.length==2){ |
||||
txt=args[0].toString(); |
||||
color=args[1].toString(); |
||||
flag="N"; |
||||
}else{ |
||||
txt=args[0].toString(); |
||||
color=args[1].toString(); |
||||
flag=args[2].toString(); |
||||
} |
||||
String result=getHtmlStr(txt, color, flag); |
||||
return result; |
||||
} |
||||
public String getHtmlStr(String txt,String color,String flag){ |
||||
String starthtml="<font color='"+color+"'>"; |
||||
String endhtml="</font>"; |
||||
StringBuffer sb=new StringBuffer(); |
||||
int len=txt.length(); |
||||
if("N".equalsIgnoreCase(flag)){//数字
|
||||
for(int i=0;i<len;i++){ |
||||
char c=txt.charAt(i); |
||||
if(c>='0'&&c<='9'){ |
||||
String str=starthtml+c+endhtml; |
||||
sb.append(str); |
||||
}else{ |
||||
sb.append(c); |
||||
} |
||||
} |
||||
}else if("C".equalsIgnoreCase(flag)){//字母
|
||||
for(int i=0;i<len;i++){ |
||||
char c=txt.charAt(i); |
||||
if((c>='a'&&c<='z')||(c>='A'&&c<='Z')){ |
||||
String str=starthtml+c+endhtml; |
||||
sb.append(str); |
||||
}else{ |
||||
sb.append(c); |
||||
} |
||||
} |
||||
} else if("Z".equalsIgnoreCase(flag)){//中文
|
||||
for(int i=0;i<len;i++){ |
||||
char c=txt.charAt(i); |
||||
if(c >= 0x4E00 && c <= 0x9FA5){ |
||||
String str=starthtml+c+endhtml; |
||||
sb.append(str); |
||||
}else{ |
||||
sb.append(c); |
||||
} |
||||
} |
||||
}else{ |
||||
return txt; |
||||
} |
||||
return sb.toString(); |
||||
} |
||||
} |
@ -0,0 +1,23 @@
|
||||
package com.fr.function; |
||||
|
||||
import com.fr.script.AbstractFunction; |
||||
|
||||
import java.net.InetAddress; |
||||
|
||||
public class GETIP extends AbstractFunction { |
||||
|
||||
@Override |
||||
public Object run(Object[] objects) { |
||||
try { |
||||
InetAddress ia = InetAddress.getLocalHost(); |
||||
return ia.getHostAddress(); |
||||
} catch (Exception e) { |
||||
return e.getMessage(); |
||||
|
||||
} |
||||
} |
||||
|
||||
public static InetAddress getInetAddress() { |
||||
return null; |
||||
} |
||||
} |
@ -0,0 +1,12 @@
|
||||
package com.fr.log; |
||||
|
||||
/** |
||||
* 后台输出log信息-http://help.finereport.com/doc-view-746.html
|
||||
*/ |
||||
public class LogApi { |
||||
public static void main(String[] args) { |
||||
FineLoggerFactory.getLogger().info( "This is level info"); //需要服务器log级别为info时才会显示
|
||||
FineLoggerFactory.getLogger().warn("This is level warning"); //需要服务器log级别为info、warning时才会显示
|
||||
FineLoggerFactory.getLogger().error("This is level error"); //需要服务器log级别为info、warning、error时才会显示,10.0取消了server级别日志记录
|
||||
} |
||||
} |
@ -0,0 +1,26 @@
|
||||
package com.fr.plugin.chart; |
||||
|
||||
import com.fr.chart.chartattr.Chart; |
||||
import com.fr.chart.fun.impl.AbstractIndependentChartProvider; |
||||
|
||||
public class IndependentChartProviderImpl extends AbstractIndependentChartProvider { |
||||
@Override |
||||
public void init() { |
||||
|
||||
} |
||||
|
||||
@Override |
||||
public void destroy() { |
||||
|
||||
} |
||||
|
||||
@Override |
||||
public String getChartName() { |
||||
return ""; |
||||
} |
||||
|
||||
@Override |
||||
public Chart[] getChartTypes() { |
||||
return null; |
||||
} |
||||
} |
@ -0,0 +1,22 @@
|
||||
package com.fr.plugin.chart; |
||||
|
||||
import com.fr.design.mainframe.chart.gui.data.report.AbstractReportDataContentPane; |
||||
import com.fr.extended.chart.AbstractExtendedChartTableDataPane; |
||||
import com.fr.extended.chart.AbstractExtendedChartUIProvider; |
||||
|
||||
public class IndependentChartUIProviderImpl extends AbstractExtendedChartUIProvider { |
||||
@Override |
||||
protected AbstractExtendedChartTableDataPane getTableDataSourcePane() { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
protected AbstractReportDataContentPane getReportDataSourcePane() { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public String getIconPath() { |
||||
return ""; |
||||
} |
||||
} |
@ -0,0 +1,23 @@
|
||||
package com.fr.plugin.core; |
||||
|
||||
import com.fr.web.core.ActionCMD; |
||||
|
||||
import javax.servlet.http.HttpServletRequest; |
||||
import javax.servlet.http.HttpServletResponse; |
||||
|
||||
public class ActionCMDImpl implements ActionCMD { |
||||
@Override |
||||
public String getCMD() { |
||||
return ""; |
||||
} |
||||
|
||||
@Override |
||||
public void actionCMD(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, String s) throws Exception { |
||||
|
||||
} |
||||
|
||||
@Override |
||||
public void actionCMD(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws Exception { |
||||
|
||||
} |
||||
} |
@ -0,0 +1,18 @@
|
||||
package com.fr.plugin.core; |
||||
|
||||
import com.fr.stable.fun.impl.AbstractAttachmentDownloader; |
||||
|
||||
import javax.servlet.http.HttpServletRequest; |
||||
import javax.servlet.http.HttpServletResponse; |
||||
|
||||
public class AttachmentDownloaderImpl extends AbstractAttachmentDownloader { |
||||
@Override |
||||
public void download(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, String s, String[] strings) throws Exception { |
||||
|
||||
} |
||||
|
||||
@Override |
||||
public String createDownloadScript(String s) { |
||||
return ""; |
||||
} |
||||
} |
@ -0,0 +1,18 @@
|
||||
package com.fr.plugin.core; |
||||
|
||||
import com.fr.base.Style; |
||||
import com.fr.report.cell.cellattr.CellGUIAttr; |
||||
import com.fr.report.fun.impl.AbstractCellValueProvider; |
||||
import com.fr.stable.script.CalculatorProvider; |
||||
|
||||
public class CellValueProcessorImpl extends AbstractCellValueProvider { |
||||
@Override |
||||
public Object process(Object o, CalculatorProvider calculatorProvider) { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public Object processBeforeToTag(Object o, CellGUIAttr cellGUIAttr, Style style, int i, int i1) { |
||||
return null; |
||||
} |
||||
} |
@ -0,0 +1,10 @@
|
||||
package com.fr.plugin.core; |
||||
|
||||
import com.fr.stable.fun.impl.AbstractCssFileHandler; |
||||
|
||||
public class CssFileHandlerImpl extends AbstractCssFileHandler { |
||||
@Override |
||||
public String[] pathsForFiles() { |
||||
return null; |
||||
} |
||||
} |
@ -0,0 +1,7 @@
|
||||
package com.fr.plugin.core; |
||||
|
||||
public class DebugLogProviderImpl { |
||||
public static void main(String[] args) { |
||||
|
||||
} |
||||
} |
@ -0,0 +1,18 @@
|
||||
package com.fr.plugin.core; |
||||
|
||||
import com.fr.stable.UrlDriver; |
||||
import com.fr.stable.fun.impl.AbstractDialectCreator; |
||||
|
||||
import java.sql.Connection; |
||||
|
||||
public class DialectCreatorImpl extends AbstractDialectCreator { |
||||
@Override |
||||
public Class<?> generate(UrlDriver urlDriver) { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public Class<?> generate(Connection connection) { |
||||
return null; |
||||
} |
||||
} |
@ -0,0 +1,13 @@
|
||||
package com.fr.plugin.core; |
||||
|
||||
import com.fr.stable.fun.impl.AbstractEmailProcessor; |
||||
|
||||
import java.util.HashMap; |
||||
import java.util.Map; |
||||
|
||||
public class EmailProcessorImpl extends AbstractEmailProcessor { |
||||
@Override |
||||
public Map<String, Object> loadMailProperties(String s, String s1, String s2, String s3, String s4) { |
||||
return new HashMap<String, Object>(); |
||||
} |
||||
} |
@ -0,0 +1,11 @@
|
||||
package com.fr.plugin.core; |
||||
|
||||
import com.fr.stable.fun.impl.AbstractExcelExportCellValueProvider; |
||||
import com.fr.stable.script.CalculatorProvider; |
||||
|
||||
public class ExcelExportCellValueProviderImpl extends AbstractExcelExportCellValueProvider { |
||||
@Override |
||||
public Object getCellValue(Object o, Object o1, CalculatorProvider calculatorProvider) { |
||||
return null; |
||||
} |
||||
} |
@ -0,0 +1,6 @@
|
||||
package com.fr.plugin.core; |
||||
|
||||
import com.fr.stable.fun.impl.AbstractExcelExportProcessor; |
||||
|
||||
public class ExcelExportProcessorImpl extends AbstractExcelExportProcessor { |
||||
} |
@ -0,0 +1,10 @@
|
||||
package com.fr.plugin.core; |
||||
|
||||
import com.fr.stable.fun.FunctionDefineProvider; |
||||
|
||||
public class FunctionDefineProviderImpl implements FunctionDefineProvider { |
||||
@Override |
||||
public int currentAPILevel() { |
||||
return 0; |
||||
} |
||||
} |
@ -0,0 +1,13 @@
|
||||
package com.fr.plugin.core; |
||||
|
||||
import com.fr.stable.fun.impl.AbstractGraphDrawProcessor; |
||||
|
||||
import java.awt.Graphics; |
||||
import java.awt.Image; |
||||
|
||||
public class GraphDrawProcessorImpl extends AbstractGraphDrawProcessor { |
||||
@Override |
||||
public void paintImage(Graphics graphics, int i, int i1, Image image, int i2, int i3, int i4, int i5, int i6) { |
||||
|
||||
} |
||||
} |
@ -0,0 +1,10 @@
|
||||
package com.fr.plugin.core; |
||||
|
||||
/** |
||||
* 10.0已经废弃 |
||||
*/ |
||||
public class HttpAuthProcessorImpl { |
||||
public static void main(String[] args) { |
||||
//HttpAuthProcessor pro = new HttpAuthProcessor();
|
||||
} |
||||
} |
@ -0,0 +1,10 @@
|
||||
package com.fr.plugin.core; |
||||
|
||||
import com.fr.stable.fun.impl.AbstractJavaScriptFileHandler; |
||||
|
||||
public class JavaScriptFileHandlerImpl extends AbstractJavaScriptFileHandler { |
||||
@Override |
||||
public String[] pathsForFiles() { |
||||
return null; |
||||
} |
||||
} |
@ -0,0 +1,25 @@
|
||||
package com.fr.plugin.core; |
||||
|
||||
import com.fr.stable.fun.impl.AbstractLogDBRecordProcessor; |
||||
|
||||
public class LogDBRecordProcessorImpl extends AbstractLogDBRecordProcessor { |
||||
@Override |
||||
public String driver() { |
||||
return ""; |
||||
} |
||||
|
||||
@Override |
||||
public String url() { |
||||
return ""; |
||||
} |
||||
|
||||
@Override |
||||
public String username() { |
||||
return ""; |
||||
} |
||||
|
||||
@Override |
||||
public String password() { |
||||
return ""; |
||||
} |
||||
} |
@ -0,0 +1,6 @@
|
||||
package com.fr.plugin.core; |
||||
|
||||
import com.fr.stable.fun.impl.AbstractLogProvider; |
||||
|
||||
public class LogProviderImpl extends AbstractLogProvider { |
||||
} |
@ -0,0 +1,12 @@
|
||||
package com.fr.plugin.core; |
||||
|
||||
import com.fr.report.cell.cellattr.CellGUIAttr; |
||||
import com.fr.report.cell.cellattr.PageExportCellElement; |
||||
import com.fr.report.fun.impl.AbstractPrintCellValueProvider; |
||||
|
||||
public class PrintCellValueProviderImpl extends AbstractPrintCellValueProvider { |
||||
@Override |
||||
public Object getCellValue(PageExportCellElement pageExportCellElement, CellGUIAttr cellGUIAttr, Object o, int i, int i1) { |
||||
return null; |
||||
} |
||||
} |
@ -0,0 +1,33 @@
|
||||
package com.fr.plugin.core; |
||||
|
||||
import com.fr.stable.fun.impl.AbstractRequestParameterCollector; |
||||
|
||||
import javax.servlet.http.HttpServletRequest; |
||||
import java.util.Map; |
||||
|
||||
public class RequestParameterCollectorImpl extends AbstractRequestParameterCollector { |
||||
@Override |
||||
public Map<String, Object> getParametersFromSession(HttpServletRequest httpServletRequest) { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public Map<String, Object> getParametersFromAttribute(HttpServletRequest httpServletRequest) { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public Map<String, Object> getParametersFromReqInputStream(HttpServletRequest httpServletRequest) { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public Map<String, Object> getParametersFromParameter(HttpServletRequest httpServletRequest) { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public Map<String, Object> getParametersFromJSON(HttpServletRequest httpServletRequest, Map<String, Object> map) { |
||||
return null; |
||||
} |
||||
} |
@ -0,0 +1,32 @@
|
||||
package com.fr.plugin.core; |
||||
|
||||
import com.fr.stable.fun.impl.AbstractRequestParameterHandler; |
||||
|
||||
import javax.servlet.http.HttpServletRequest; |
||||
|
||||
public class RequestParameterHandlerImpl extends AbstractRequestParameterHandler { |
||||
@Override |
||||
public Object getParameterFromRequest(HttpServletRequest httpServletRequest, String s) { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public Object getParameterFromRequestInputStream(HttpServletRequest httpServletRequest, String s) { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public Object getParameterFromAttribute(HttpServletRequest httpServletRequest, String s) { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public Object getParameterFromJSONParameters(HttpServletRequest httpServletRequest, String s) { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public Object getParameterFromSession(HttpServletRequest httpServletRequest, String s) { |
||||
return null; |
||||
} |
||||
} |
@ -0,0 +1,18 @@
|
||||
package com.fr.plugin.core; |
||||
|
||||
import com.fr.stable.fun.Service; |
||||
|
||||
import javax.servlet.http.HttpServletRequest; |
||||
import javax.servlet.http.HttpServletResponse; |
||||
|
||||
public class ServiceImpl implements Service { |
||||
@Override |
||||
public String actionOP() { |
||||
return ""; |
||||
} |
||||
|
||||
@Override |
||||
public void process(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, String s, String s1) throws Exception { |
||||
|
||||
} |
||||
} |
@ -0,0 +1,10 @@
|
||||
package com.fr.plugin.core; |
||||
|
||||
import com.fr.stable.fun.impl.AbstractSpecialCharProcessor; |
||||
|
||||
public class SpecialCharProcessorImpl extends AbstractSpecialCharProcessor { |
||||
@Override |
||||
public String processChar(String s) { |
||||
return ""; |
||||
} |
||||
} |
@ -0,0 +1,6 @@
|
||||
package com.fr.plugin.core; |
||||
|
||||
import com.fr.stable.fun.impl.AbstractTableDataProvider; |
||||
|
||||
public class TableDataProviderImpl extends AbstractTableDataProvider { |
||||
} |
@ -0,0 +1,10 @@
|
||||
package com.fr.plugin.core; |
||||
|
||||
import com.fr.stable.fun.impl.AbstractWidgetSwitcher; |
||||
|
||||
public class WidgetSwitcherImpl extends AbstractWidgetSwitcher { |
||||
@Override |
||||
public String toNewMarkType(String s) { |
||||
return ""; |
||||
} |
||||
} |
@ -0,0 +1,7 @@
|
||||
package com.fr.plugin.core; |
||||
|
||||
public class XMLFileManagerProviderImpl { |
||||
public static void main(String[] args) { |
||||
// XMLFileManagerProvider provider = new XMLFileManagerProvider();
|
||||
} |
||||
} |
@ -0,0 +1,11 @@
|
||||
package com.fr.plugin.design; |
||||
|
||||
import com.fr.design.fun.impl.AbstractCellAttributeProvider; |
||||
import com.fr.design.gui.frpane.AbstractAttrNoScrollPane; |
||||
|
||||
public class CellAttributeProviderImpl extends AbstractCellAttributeProvider { |
||||
@Override |
||||
public AbstractAttrNoScrollPane createCellAttributePane() { |
||||
return null; |
||||
} |
||||
} |
@ -0,0 +1,27 @@
|
||||
package com.fr.plugin.design; |
||||
|
||||
import com.fr.design.beans.BasicBeanPane; |
||||
import com.fr.design.fun.impl.AbstractCellWidgetOptionProvider; |
||||
import com.fr.form.ui.Widget; |
||||
|
||||
public class CellWidgetOptionProviderImpl extends AbstractCellWidgetOptionProvider { |
||||
@Override |
||||
public Class<? extends Widget> classForWidget() { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public Class<? extends BasicBeanPane<? extends Widget>> appearanceForWidget() { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public String iconPathForWidget() { |
||||
return ""; |
||||
} |
||||
|
||||
@Override |
||||
public String nameForWidget() { |
||||
return ""; |
||||
} |
||||
} |
@ -0,0 +1,28 @@
|
||||
package com.fr.plugin.design; |
||||
|
||||
import com.fr.data.impl.Connection; |
||||
import com.fr.design.beans.BasicBeanPane; |
||||
import com.fr.design.fun.impl.AbstractConnectionProvider; |
||||
|
||||
public class ConnectionProviderImpl extends AbstractConnectionProvider { |
||||
@Override |
||||
public String nameForConnection() { |
||||
return ""; |
||||
} |
||||
|
||||
@Override |
||||
public String iconPathForConnection() { |
||||
return ""; |
||||
} |
||||
|
||||
@Override |
||||
public Class<? extends Connection> classForConnection() { |
||||
return null; |
||||
|
||||
} |
||||
|
||||
@Override |
||||
public Class<? extends BasicBeanPane<? extends Connection>> appearanceForConnection() { |
||||
return null; |
||||
} |
||||
} |
@ -0,0 +1,26 @@
|
||||
package com.fr.plugin.design; |
||||
|
||||
import com.fr.design.fun.impl.AbstractFormWidgetOptionProvider; |
||||
import com.fr.form.ui.Widget; |
||||
|
||||
public class FormWidgetOptionProviderImpl extends AbstractFormWidgetOptionProvider { |
||||
@Override |
||||
public Class<? extends Widget> classForWidget() { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public Class<?> appearanceForWidget() { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public String iconPathForWidget() { |
||||
return ""; |
||||
} |
||||
|
||||
@Override |
||||
public String nameForWidget() { |
||||
return ""; |
||||
} |
||||
} |
@ -0,0 +1,12 @@
|
||||
package com.fr.plugin.design; |
||||
|
||||
import com.fr.design.fun.impl.AbstractGlobalListenerProvider; |
||||
|
||||
import java.awt.event.AWTEventListener; |
||||
|
||||
public class GlobalListenerProviderImpl extends AbstractGlobalListenerProvider { |
||||
@Override |
||||
public AWTEventListener listener() { |
||||
return null; |
||||
} |
||||
} |
@ -0,0 +1,17 @@
|
||||
package com.fr.plugin.design; |
||||
|
||||
import com.fr.design.condition.ConditionAttrSingleConditionPane; |
||||
import com.fr.design.condition.ConditionAttributesPane; |
||||
import com.fr.design.fun.impl.AbstractHighlightProvider; |
||||
|
||||
public class HighlightProviderImpl extends AbstractHighlightProvider { |
||||
@Override |
||||
public Class<?> classForHighlightAction() { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public ConditionAttrSingleConditionPane appearanceForCondition(ConditionAttributesPane conditionAttributesPane) { |
||||
return null; |
||||
} |
||||
} |
@ -0,0 +1,6 @@
|
||||
package com.fr.plugin.design; |
||||
|
||||
import com.fr.design.fun.impl.AbstractIndentationUnitProcessor; |
||||
|
||||
public class IndentationUnitProcessorImpl extends AbstractIndentationUnitProcessor { |
||||
} |
@ -0,0 +1,12 @@
|
||||
package com.fr.plugin.design; |
||||
|
||||
import com.fr.design.beans.FurtherBasicBeanPane; |
||||
import com.fr.design.fun.impl.AbstractJavaScriptActionProvider; |
||||
import com.fr.js.JavaScript; |
||||
|
||||
public class JavaScriptActionProviderImpl extends AbstractJavaScriptActionProvider { |
||||
@Override |
||||
public FurtherBasicBeanPane<? extends JavaScript> getJavaScriptActionPane() { |
||||
return null; |
||||
} |
||||
} |
@ -0,0 +1,27 @@
|
||||
package com.fr.plugin.design; |
||||
|
||||
import com.fr.design.fun.impl.AbstractParameterWidgetOptionProvider; |
||||
import com.fr.form.ui.Widget; |
||||
|
||||
public class ParameterWidgetOptionProviderImpl extends AbstractParameterWidgetOptionProvider { |
||||
@Override |
||||
public Class<? extends Widget> classForWidget() { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public Class<?> appearanceForWidget() { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public String iconPathForWidget() { |
||||
return null; |
||||
|
||||
} |
||||
|
||||
@Override |
||||
public String nameForWidget() { |
||||
return null; |
||||
} |
||||
} |
@ -0,0 +1,25 @@
|
||||
package com.fr.plugin.design; |
||||
|
||||
import com.fr.design.fun.impl.AbstractPreviewProvider; |
||||
|
||||
public class PreviewProviderImpl extends AbstractPreviewProvider { |
||||
@Override |
||||
public String nameForPopupItem() { |
||||
return ""; |
||||
} |
||||
|
||||
@Override |
||||
public String iconPathForPopupItem() { |
||||
return ""; |
||||
} |
||||
|
||||
@Override |
||||
public String iconPathForLarge() { |
||||
return ""; |
||||
} |
||||
|
||||
@Override |
||||
public int previewTypeCode() { |
||||
return 0; |
||||
} |
||||
} |
@ -0,0 +1,28 @@
|
||||
package com.fr.plugin.design; |
||||
|
||||
import com.fr.design.menu.ShortCut; |
||||
|
||||
import javax.swing.JPopupMenu; |
||||
import javax.swing.JToolBar; |
||||
|
||||
public class ShortCutImpl extends ShortCut { |
||||
@Override |
||||
public void intoJPopupMenu(JPopupMenu jPopupMenu) { |
||||
|
||||
} |
||||
|
||||
@Override |
||||
public void intoJToolBar(JToolBar jToolBar) { |
||||
|
||||
} |
||||
|
||||
@Override |
||||
public void setEnabled(boolean b) { |
||||
|
||||
} |
||||
|
||||
@Override |
||||
public boolean isEnabled() { |
||||
return true; |
||||
} |
||||
} |
@ -0,0 +1,21 @@
|
||||
package com.fr.plugin.design; |
||||
|
||||
import com.fr.design.beans.BasicBeanPane; |
||||
import com.fr.design.fun.impl.AbstractSubmitProvider; |
||||
|
||||
public class SubmitProviderImpl extends AbstractSubmitProvider { |
||||
@Override |
||||
public BasicBeanPane appearanceForSubmit() { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public String dataForSubmit() { |
||||
return ""; |
||||
} |
||||
|
||||
@Override |
||||
public String keyForSubmit() { |
||||
return ""; |
||||
} |
||||
} |
@ -0,0 +1,37 @@
|
||||
package com.fr.plugin.design; |
||||
|
||||
import com.fr.base.TableData; |
||||
import com.fr.design.data.tabledata.tabledatapane.AbstractTableDataPane; |
||||
import com.fr.design.fun.impl.AbstractTableDataDefineProvider; |
||||
|
||||
public class TableDataDefineProviderImpl extends AbstractTableDataDefineProvider { |
||||
@Override |
||||
public Class<? extends TableData> classForTableData() { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public Class<? extends TableData> classForInitTableData() { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public Class<? extends AbstractTableDataPane> appearanceForTableData() { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public String nameForTableData() { |
||||
return ""; |
||||
} |
||||
|
||||
@Override |
||||
public String prefixForTableData() { |
||||
return ""; |
||||
} |
||||
|
||||
@Override |
||||
public String iconPathForTableData() { |
||||
return ""; |
||||
} |
||||
} |
@ -0,0 +1,13 @@
|
||||
package com.fr.plugin.design; |
||||
|
||||
import com.fr.design.fun.impl.AbstractTitleProcessor; |
||||
|
||||
import java.awt.Component; |
||||
import java.awt.Container; |
||||
|
||||
public class TitlePlaceProcessorImpl extends AbstractTitleProcessor { |
||||
@Override |
||||
public void hold(Container container, Component component, Component component1) { |
||||
|
||||
} |
||||
} |
@ -0,0 +1,16 @@
|
||||
package com.fr.plugin.design; |
||||
|
||||
import com.fr.design.formula.UIFormula; |
||||
import com.fr.design.fun.impl.AbstractUIFormulaProcessor; |
||||
|
||||
public class UIFormulaProcessorImpl extends AbstractUIFormulaProcessor { |
||||
@Override |
||||
public UIFormula appearanceFormula() { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public UIFormula appearanceWhenReserveFormula() { |
||||
return null; |
||||
} |
||||
} |
@ -0,0 +1,11 @@
|
||||
package com.fr.plugin.design; |
||||
|
||||
import com.fr.design.fun.impl.AbstractWidgetDesignHandler; |
||||
import com.fr.form.ui.Widget; |
||||
|
||||
public class WidgetDesignHandlerImpl extends AbstractWidgetDesignHandler { |
||||
@Override |
||||
public void transferWidgetProperties(Widget widget, Widget widget1) { |
||||
|
||||
} |
||||
} |
@ -0,0 +1,11 @@
|
||||
package com.fr.plugin.report; |
||||
|
||||
import com.fr.report.fun.impl.AbstractActorProvider; |
||||
import com.fr.report.stable.fun.Actor; |
||||
|
||||
public class ActorProviderImpl extends AbstractActorProvider { |
||||
@Override |
||||
public Actor[] createActor() { |
||||
return null; |
||||
} |
||||
} |
@ -0,0 +1,12 @@
|
||||
package com.fr.plugin.report; |
||||
|
||||
import com.fr.report.fun.impl.AbstractCellTagTransformer; |
||||
import com.fr.script.Calculator; |
||||
import com.fr.stable.html.Tag; |
||||
|
||||
public class CellTooltipProcessorImpl extends AbstractCellTagTransformer { |
||||
@Override |
||||
public Tag process(Calculator calculator, Tag tag, String s, Object o) { |
||||
return null; |
||||
} |
||||
} |
@ -0,0 +1,10 @@
|
||||
package com.fr.plugin.report; |
||||
|
||||
import com.fr.report.fun.impl.AbstractExcelExportAppProvider; |
||||
|
||||
public class ExcelExportAppProviderImpl extends AbstractExcelExportAppProvider { |
||||
@Override |
||||
public String exportType() { |
||||
return ""; |
||||
} |
||||
} |
@ -0,0 +1,14 @@
|
||||
package com.fr.plugin.report; |
||||
|
||||
import com.fr.main.TemplateWorkBook; |
||||
import com.fr.report.fun.impl.AbstractExcelImportProcessor; |
||||
|
||||
import java.io.InputStream; |
||||
import java.util.Map; |
||||
|
||||
public class ExcelImportProcessor extends AbstractExcelImportProcessor { |
||||
@Override |
||||
public TemplateWorkBook generateWorkBookByStream(InputStream inputStream, String s, Map<String, Object> map) throws Exception { |
||||
return null; |
||||
} |
||||
} |
@ -0,0 +1,6 @@
|
||||
package com.fr.plugin.report; |
||||
|
||||
import com.fr.report.fun.impl.AbstractExportEncodeProvider; |
||||
|
||||
public class ExportEncodeProviderImpl extends AbstractExportEncodeProvider { |
||||
} |
@ -0,0 +1,21 @@
|
||||
package com.fr.plugin.report; |
||||
|
||||
import com.fr.io.collection.ExportCollection; |
||||
import com.fr.report.fun.impl.AbstractExportExtension; |
||||
import com.fr.web.core.ReportSessionIDInfor; |
||||
import com.fr.web.core.TemplateSessionIDInfo; |
||||
|
||||
import javax.servlet.http.HttpServletRequest; |
||||
import javax.servlet.http.HttpServletResponse; |
||||
|
||||
public class ExportExtensionProcessorImpl extends AbstractExportExtension { |
||||
@Override |
||||
public String fileName(HttpServletRequest httpServletRequest, TemplateSessionIDInfo templateSessionIDInfo) throws Exception { |
||||
return ""; |
||||
} |
||||
|
||||
@Override |
||||
public ExportCollection createCollection(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, ReportSessionIDInfor reportSessionIDInfor, String s, String s1, boolean b) throws Exception { |
||||
return null; |
||||
} |
||||
} |
@ -0,0 +1,16 @@
|
||||
package com.fr.plugin.report; |
||||
|
||||
import com.fr.report.fun.impl.AbstractExportOperateProvider; |
||||
import com.fr.web.core.reserve.Operate; |
||||
|
||||
public class ExportOperateProviderImpl extends AbstractExportOperateProvider { |
||||
@Override |
||||
public Operate operate() { |
||||
return null; |
||||
} |
||||
|
||||
@Override |
||||
public String markType() { |
||||
return ""; |
||||
} |
||||
} |
@ -0,0 +1,13 @@
|
||||
package com.fr.plugin.report; |
||||
|
||||
import com.fr.form.stable.fun.AbstractFormExportProcessor; |
||||
|
||||
import javax.servlet.http.HttpServletRequest; |
||||
import javax.servlet.http.HttpServletResponse; |
||||
|
||||
public class FromExportProcessorImpl extends AbstractFormExportProcessor { |
||||
@Override |
||||
public void dealWithExport(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, String s) { |
||||
|
||||
} |
||||
} |
@ -0,0 +1,18 @@
|
||||
package com.fr.plugin.report; |
||||
|
||||
import com.fr.report.cell.CellElement; |
||||
import com.fr.report.cell.cellattr.highlight.HighlightGroup; |
||||
import com.fr.report.fun.impl.AbstractPageCalObjectProcessor; |
||||
import com.fr.script.Calculator; |
||||
|
||||
public class PageCalObjectProcessorImpl extends AbstractPageCalObjectProcessor { |
||||
@Override |
||||
public void collectPageCalHighlight(CellElement cellElement, Calculator calculator, HighlightGroup highlightGroup) { |
||||
|
||||
} |
||||
|
||||
@Override |
||||
public void resolvePageCalHighlight(Calculator calculator, CellElement cellElement) { |
||||
|
||||
} |
||||
} |
@ -0,0 +1,13 @@
|
||||
package com.fr.plugin.report; |
||||
|
||||
import com.fr.report.fun.impl.AbstractReportPretreatmentProcessor; |
||||
|
||||
import javax.servlet.http.HttpServletRequest; |
||||
import javax.servlet.http.HttpServletResponse; |
||||
|
||||
public class ReportPretreatmentProcessorImpl extends AbstractReportPretreatmentProcessor { |
||||
@Override |
||||
public void process(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, String s) { |
||||
|
||||
} |
||||
} |
@ -0,0 +1,16 @@
|
||||
package com.fr.learn; |
||||
|
||||
import com.fr.start.Designer; |
||||
|
||||
public class Leaner extends Designer { |
||||
|
||||
static { |
||||
// 这段代码让插件能支持远程设计的时候的调试
|
||||
String workDir = System.getProperty("user.dir"); |
||||
System.setProperty("fine.plugin.home", workDir + "/webroot/WEB-INF/plugins"); |
||||
} |
||||
|
||||
public Leaner(String[] strings) { |
||||
super(strings); |
||||
} |
||||
} |
Loading…
Reference in new issue