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.
35 lines
1.0 KiB
35 lines
1.0 KiB
package com.eco.plugin.xx.hrzdmsg.webresourceProvider; |
|
|
|
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; |
|
|
|
/** |
|
* Created by xx on 2021-12-03 |
|
*/ |
|
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) { |
|
return ScriptPath.build("/com/eco/plugin/xx/hrzdmsg/js/ui.js"); |
|
} |
|
|
|
@Override |
|
public StylePath style(RequestClient requestClient) { |
|
return StylePath.EMPTY; |
|
// return StylePath.build("/com/fr/plugin/jdfSSO/css/icon.css"); |
|
} |
|
}; |
|
} |
|
}
|
|
|