forked from fanruan/demo-show-type
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
619 B
29 lines
619 B
5 years ago
|
package com.fr.plugin.showtype;
|
||
|
|
||
|
import com.fr.decision.authority.base.constant.type.show.ShowType;
|
||
|
import com.fr.decision.fun.impl.AbstractTemplateShowTypeProvider;
|
||
|
import com.fr.web.struct.Atom;
|
||
|
|
||
|
/**
|
||
|
* @Author Roger
|
||
|
* @Date 2020/8/18 17:42
|
||
|
* @Version 10.0
|
||
|
*/
|
||
|
public class NewPreviewTypeProvider extends AbstractTemplateShowTypeProvider {
|
||
|
|
||
|
@Override
|
||
|
public String nameForShowType() {
|
||
|
return "newPreview";
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public ShowType registerShowType() {
|
||
|
return NewPreviewType.KEY;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public Atom client() {
|
||
|
return NewPreviewComponent.KEY;
|
||
|
}
|
||
|
}
|