* 获取工具状态
(toolName: string)
| 98 | * 获取工具状态 |
| 99 | */ |
| 100 | getToolState(toolName: string): any { |
| 101 | if (!this.contextData) { |
| 102 | return null; |
| 103 | } |
| 104 | |
| 105 | this.recordAccess('tools'); |
| 106 | return this.contextData.layers.tool.toolStates[toolName]; |
| 107 | } |
| 108 | |
| 109 | /** |
| 110 | * 更新工作空间信息 |
nothing calls this directly
no test coverage detected