IContextMenuManager
title的键名,自定义
属性
data
data: IHitTestResult
类型: IHitTestResult
frozenData
frozenData: Attributes
类型: Attributes
hiddenData
hiddenData: Attributes
类型: Attributes
isolatedData
isolatedData: Attributes
类型: Attributes
menus
menus: ContextMenuItem
类型: ContextMenuItem
scene
scene: IScene
类型: IScene
solitaryData
solitaryData: Attributes
类型: Attributes
title
title: string
类型: string
titleKey
title的键名,自定义
titleKey?: string
类型: string
type
type: string
类型: string
方法
add
增加菜单项
filterHandle
filterHandle(lastData?): void
参数
- lastData?:
any
返回:void
forbidden
根据菜单id禁用菜单
forbidden(ids): void
参数
- ids:
number|string禁用或不禁用的菜单id
返回:void
getCurrentObject
获取当前选中构件
getCurrentObject(getTitleNumber): void
参数
- getTitleNumber:
number是否接口请求构件名称 name
返回:void
hide
Returns
hide(): void
返回:void
remove
移除指定菜单选项
remove(name): void
参数
- name:
string指定菜单选项名称
返回:void
setDefaultMenu
show
showAll
Returns
showAll(): void
返回:void

BIMFlux AI
