载入中...
搜索中...
未找到
eve::editor::EditorSelectionRouter类 参考

Default selection → inspector panel activation for a mounted host. 更多...

#include <EditorSelectionRouter.h>

Public 成员函数

 EditorSelectionRouter (EditorHost &host)
 
const std::string & channel () const
 Host selection channel.
 
Result< std::string > select (const SelectionItem &item, bool additive=false)
 Apply a selection and activate a matching inspector panel.
 
Result< void > clear ()
 Clear the host channel selection.
 

详细描述

Default selection → inspector panel activation for a mounted host.

Routes selection changes on the host channel to the first visible inspector panel whose capability matches a mounted package selectionDomain / capability.

在文件 EditorSelectionRouter.h 第 21 行定义.

构造及析构函数说明

◆ EditorSelectionRouter()

eve::editor::EditorSelectionRouter::EditorSelectionRouter ( EditorHost &  host)
explicit

在文件 EditorSelectionRouter.cpp 第 7 行定义.

成员函数说明

◆ channel()

const std::string & eve::editor::EditorSelectionRouter::channel ( ) const

Host selection channel.

在文件 EditorSelectionRouter.cpp 第 9 行定义.

引用了 eve::editor::EditorHost::selectionChannel().

被这些函数引用 clear() , 以及 select().

◆ clear()

Result< void > eve::editor::EditorSelectionRouter::clear ( )

Clear the host channel selection.

在文件 EditorSelectionRouter.cpp 第 46 行定义.

引用了 channel(), eve::editor::EditorWorkspace::clearSelection() , 以及 eve::editor::EditorHost::workspace().

◆ select()


该类的文档由以下文件生成: