feat(registry): 注册 ComponentDetailManager 到全局 Registry 和 BimEngine
This commit is contained in:
@@ -20,10 +20,11 @@ import type { SectionAxisDialogManager } from '../managers/section-axis-dialog-m
|
||||
import type { SectionBoxDialogManager } from '../managers/section-box-dialog-manager';
|
||||
import type { WalkPathDialogManager } from '../managers/walk-path-dialog-manager';
|
||||
import type { WalkPlanViewDialogManager } from '../managers/walk-plan-view-dialog-manager';
|
||||
import type { ComponentDetailManager } from '../managers/component-detail-manager';
|
||||
|
||||
/**
|
||||
* Manager 注册表 - 单例模式
|
||||
* 提供所有 Manager 的全局访问点,替代 engine 层层传递
|
||||
* 提供所有 Manager 的全局访问点,替代 engine 层层传递
|
||||
*/
|
||||
export class ManagerRegistry {
|
||||
/** 单例实例 */
|
||||
@@ -66,6 +67,8 @@ export class ManagerRegistry {
|
||||
public walkPath: WalkPathDialogManager | null = null;
|
||||
/** 漫游平面图对话框管理器 */
|
||||
public walkPlanView: WalkPlanViewDialogManager | null = null;
|
||||
/** 构件详情管理器 */
|
||||
public componentDetail: ComponentDetailManager | null = null;
|
||||
|
||||
private constructor() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user