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.
34 lines
1007 B
34 lines
1007 B
2 years ago
|
package com.fr.plugin.user.tuomin.webresource;
|
||
|
|
||
|
import com.fr.decision.fun.impl.AbstractWebResourceProvider;
|
||
|
import com.fr.decision.web.MainComponent;
|
||
|
import com.fr.intelli.record.Focus;
|
||
|
import com.fr.record.analyzer.EnableMetrics;
|
||
|
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.ParserType;
|
||
|
import com.fr.web.struct.category.ScriptPath;
|
||
|
import com.fr.web.struct.category.StylePath;
|
||
|
|
||
|
public class UserTMWebResourceProvider extends AbstractWebResourceProvider{
|
||
|
|
||
|
@Override
|
||
|
public Atom attach() {
|
||
|
return MainComponent.KEY;
|
||
|
}
|
||
|
|
||
|
public Atom[] clients() {
|
||
|
return new Atom[]{
|
||
|
new Component() {
|
||
|
@Override
|
||
|
public ScriptPath script(RequestClient client) {
|
||
|
return ScriptPath.build( "com/fr/plugin/user/tuomin/userinfo.js", ParserType.DYNAMIC );
|
||
|
}
|
||
|
|
||
|
}
|
||
|
};
|
||
|
}
|
||
|
|
||
|
}
|