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.
41 lines
973 B
41 lines
973 B
package com.fr.plugin.widget.ztree.core; |
|
|
|
|
|
import com.fanruan.api.i18n.I18nKit; |
|
import com.fr.design.fun.impl.AbstractCellWidgetOptionProvider; |
|
import com.fr.plugin.widget.ztree.ui.ZTreeDefinePane; |
|
|
|
import com.fr.design.beans.BasicBeanPane; |
|
|
|
import com.fr.form.ui.Widget; |
|
|
|
/** |
|
* Created by richie on 15/11/17. |
|
*/ |
|
public class ZTreeMarkInCell extends AbstractCellWidgetOptionProvider { |
|
|
|
@Override |
|
public int currentAPILevel() { |
|
return CURRENT_LEVEL; |
|
} |
|
|
|
@Override |
|
public Class<? extends Widget> classForWidget() { |
|
return ZTree.class; |
|
} |
|
|
|
@Override |
|
public Class<? extends BasicBeanPane<? extends Widget>> appearanceForWidget() { |
|
return ZTreeDefinePane.class; |
|
} |
|
|
|
@Override |
|
public String iconPathForWidget() { |
|
return "/com/fr/plugin/widget/ztree/images/drop_down_tree.png"; |
|
} |
|
|
|
@Override |
|
public String nameForWidget() { |
|
return I18nKit.getLocText("Plugin-ZTree_Widget_Name"); |
|
} |
|
} |