forked from Zhenfei.Li/plugin-bi-pack-request
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
822 B
29 lines
822 B
4 years ago
|
package com.fr.plugin.pack;
|
||
|
|
||
|
import com.fr.web.struct.Component;
|
||
|
import com.fr.web.struct.Filter;
|
||
|
import com.fr.web.struct.browser.RequestClient;
|
||
|
import com.fr.web.struct.category.ScriptPath;
|
||
|
import com.fr.web.struct.category.StylePath;
|
||
|
|
||
|
public class ReportDef extends Component {
|
||
|
public static final ReportDef KEY = new ReportDef();
|
||
|
public ReportDef(){}
|
||
|
public ScriptPath script(RequestClient client ) {
|
||
|
return ScriptPath.build("com/fr/plugin/pack/report.js");
|
||
|
}
|
||
|
|
||
|
public StylePath style(RequestClient client ) {
|
||
|
return StylePath.build("com/fr/plugin/pack/report.css");
|
||
|
}
|
||
|
|
||
|
public Filter filter() {
|
||
|
return new Filter(){
|
||
|
@Override
|
||
|
public boolean accept() {
|
||
|
return true;
|
||
|
}
|
||
|
};
|
||
|
}
|
||
|
}
|