Interface IAttributeEditorFactory
public interface IAttributeEditorFactory
属性编辑窗口的工厂接口
编译器会扫描源代码 生成这个接口的实现类
-
Method Summary
Modifier and TypeMethodDescriptioncreateEditor(String editorCode, boolean reuse) 创建编辑器 实现逻辑为 根据列表 依次创建findByCode(String code) 根据代码查找属性编辑器元数据返回系统中所有的属性编辑器
-
Method Details
-
createEditor
创建编辑器 实现逻辑为 根据列表 依次创建- Parameters:
editorCode- 编辑器的唯一代码reuse- 是否重用- Returns:
-
getEditors
List<AttributeEditorInfo> getEditors()返回系统中所有的属性编辑器- Returns:
-
findByCode
根据代码查找属性编辑器元数据- Parameters:
code-- Returns:
-