|
@@ -146,6 +146,29 @@ public interface SwEnum { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
|
|
|
* 界面定义类型:::控件/页面 |
|
|
|
|
|
*/ |
|
|
|
|
|
class FormType extends StrEnum { |
|
|
|
|
|
public static FormType instance = new FormType(); |
|
|
|
|
|
|
|
|
|
|
|
public static StrEnumBean PAGE = instance.addEnum("page", "页面"); |
|
|
|
|
|
public static StrEnumBean WIDGET = instance.addEnum("widget", "控件"); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* 控件类型:::grid,tree,combotree,combogrid、custom |
|
|
|
|
|
*/ |
|
|
|
|
|
class WidgetType extends StrEnum { |
|
|
|
|
|
public static WidgetType instance = new WidgetType(); |
|
|
|
|
|
|
|
|
|
|
|
public static StrEnumBean GRID = instance.addEnum("grid", "表格"); |
|
|
|
|
|
public static StrEnumBean TREE = instance.addEnum("tree", "下拉树"); |
|
|
|
|
|
public static StrEnumBean COMBOGRID = instance.addEnum("combogrid", "下拉表格"); |
|
|
|
|
|
public static StrEnumBean COMBOTREE = instance.addEnum("combotree", "下拉树"); |
|
|
|
|
|
public static StrEnumBean CUSTOM = instance.addEnum("custom", "自定义"); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
* 数据集类型:::list-列表;form-表单;editList-编辑列表;tree;enum |
|
|
* 数据集类型:::list-列表;form-表单;editList-编辑列表;tree;enum |
|
|
*/ |
|
|
*/ |
|
|
class DatasetType extends StrEnum { |
|
|
class DatasetType extends StrEnum { |
|
|