【仅供内部供应商使用,不提供对外解答和培训】

Page tree

【仅供内部供应商使用,不提供对外解答和培训】

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

接口作用

在决策平台的管理系统下增加管理菜单。

接口内容

PlateProvider
package com.fr.fs.fun;
import com.fr.fs.FSPlate;
import com.fr.stable.fun.Level;

/**
 * @author richie
 * @date 2015-04-14
 * @since 8.0
 */
public interface PlateProvider extends Level {

    String XML_TAG = "PlateProvider";

    int CURRENT_LEVEL = 1;

    /**
     * 移动模块所对应的类
     * @return 类
     */
    Class<? extends FSPlate> classForPlate();

    /**
     * 模块标记字符串,该标记将会出现在FS.config.supportModules中(用于JS中调用)
     * @return 标记
     */
    String mark();
}

注册方式

<extra-platform>
  <PlateProvider class="com.fr.plugin.xxx.youclassname"/>
</extra-platform>
  • No labels