这是一个插件控件的开发示例,实现了一个基于ztree的参数树控件。
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.
|
|
|
package com.fr.plugin.widget.ztree.ui;
|
|
|
|
|
|
|
|
import com.fanruan.api.design.DesignKit;
|
|
|
|
import com.fanruan.api.design.work.form.container.AbstractDataModify;
|
|
|
|
import com.fr.plugin.widget.ztree.core.ZTree;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Created by richie on 15/11/17.
|
|
|
|
*/
|
|
|
|
public class ZTreeDefinePane extends AbstractDataModify<ZTree> {
|
|
|
|
@Override
|
|
|
|
public void populateBean(ZTree ob) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public ZTree updateBean() {
|
|
|
|
return new ZTree();
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
protected String title4PopupWindow() {
|
|
|
|
return DesignKit.i18nText("Plugin-ZTree_Widget_Name");
|
|
|
|
}
|
|
|
|
}
|