载入中...
搜索中...
未找到
eve::editor::CommandDescriptor结构体 参考

Presentation and execution metadata for a registered command. 更多...

#include <EditorCommandService.h>

Public 属性

CommandId id
 
std::string ownerModule
 
std::string displayName
 
std::string category
 
HostFeature requiredFeatures = HostFeature::None
 
bool createsTransaction = true
 
bool automationAllowed = true
 
std::vector< std::string > targetKinds
 Target type names this command may bind.
 
PropertySchema payloadSchema
 Payload schema projected to MCP inputSchema / Inspector.
 
std::string panelCapability
 Bound workspace panel capability (panel-before-automation).
 
std::string panelContext
 Bound workspace panel context.
 

详细描述

Presentation and execution metadata for a registered command.

在文件 EditorCommandService.h 第 30 行定义.

类成员变量说明

◆ automationAllowed

bool eve::editor::CommandDescriptor::automationAllowed = true

◆ category

std::string eve::editor::CommandDescriptor::category

◆ createsTransaction

bool eve::editor::CommandDescriptor::createsTransaction = true

在文件 EditorCommandService.h 第 36 行定义.

被这些函数引用 eve::editor::EditorSession::executeCommand().

◆ displayName

std::string eve::editor::CommandDescriptor::displayName

◆ id

CommandId eve::editor::CommandDescriptor::id

◆ ownerModule

std::string eve::editor::CommandDescriptor::ownerModule

◆ panelCapability

std::string eve::editor::CommandDescriptor::panelCapability

Bound workspace panel capability (panel-before-automation).

在文件 EditorCommandService.h 第 43 行定义.

被这些函数引用 eve::editor::EditorTargetCoordinator::registerPlannedCommand().

◆ panelContext

std::string eve::editor::CommandDescriptor::panelContext

Bound workspace panel context.

在文件 EditorCommandService.h 第 45 行定义.

被这些函数引用 eve::editor::EditorTargetCoordinator::registerPlannedCommand().

◆ payloadSchema

PropertySchema eve::editor::CommandDescriptor::payloadSchema

Payload schema projected to MCP inputSchema / Inspector.

在文件 EditorCommandService.h 第 41 行定义.

被这些函数引用 eve::editor::EditorTargetCoordinator::registerPlannedCommand().

◆ requiredFeatures

HostFeature eve::editor::CommandDescriptor::requiredFeatures = HostFeature::None

在文件 EditorCommandService.h 第 35 行定义.

◆ targetKinds

std::vector<std::string> eve::editor::CommandDescriptor::targetKinds

Target type names this command may bind.

在文件 EditorCommandService.h 第 39 行定义.

被这些函数引用 eve::editor::EditorTargetCoordinator::registerPlannedCommand().


该结构体的文档由以下文件生成: