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.

36 lines
1.0 KiB

3 years ago
package com.eco.plugin.xx.hrzdmsg.webresourceProvider;
3 years ago
import com.fr.decision.fun.impl.AbstractWebResourceProvider;
import com.fr.report.web.ReportMainComponent;
import com.fr.web.struct.Atom;
import com.fr.web.struct.Component;
import com.fr.web.struct.browser.RequestClient;
import com.fr.web.struct.category.ScriptPath;
import com.fr.web.struct.category.StylePath;
/**
3 years ago
* Created by xx on 2021-12-03
3 years ago
*/
public class WebResourceProvider extends AbstractWebResourceProvider {
@Override
public Atom attach() {
return ReportMainComponent.KEY;
}
@Override
public Atom client() {
return new Component() {
@Override
public ScriptPath script(RequestClient requestClient) {
3 years ago
return ScriptPath.build("/com/eco/plugin/xx/hrzdmsg/js/ui.js");
3 years ago
}
@Override
public StylePath style(RequestClient requestClient) {
return StylePath.EMPTY;
// return StylePath.build("/com/fr/plugin/jdfSSO/css/icon.css");
}
};
}
}