public class ActionUtilities
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
static boolean |
isCreateAction(com.supermap.ui.Action action)
Action是否为创建对象类型的Action
|
static boolean |
isCreateLine(com.supermap.ui.Action action)
判断Action是否为创建线对象的Action
|
static boolean |
isCreateRegion(com.supermap.ui.Action action)
判断Action是否为创建面对象的Action
|
static boolean |
isSupportDatasetType(com.supermap.ui.Action action, com.supermap.data.DatasetType datasetType)
数据集是否为当前Action支持的类型
|
public static boolean isCreateAction(com.supermap.ui.Action action)
action
- 要判断的Actionpublic static boolean isSupportDatasetType(com.supermap.ui.Action action, com.supermap.data.DatasetType datasetType)
action
- actiondatasetType
- 数据集类型public static boolean isCreateLine(com.supermap.ui.Action action)
action
- actionpublic static boolean isCreateRegion(com.supermap.ui.Action action)
action
- 要判断的action