载入中...
搜索中...
未找到
EditorCommandService.h
浏览该文件的文档.
39using EditorCommandHandler = std::function<Result<EditorValue>(const CommandContext&, const EditorValue&)>;
70 Result<EditorValue> registerPlannedCommand(CommandDescriptor descriptor, EditorCommandPlanner planner,
113 [[nodiscard]] Result<void> checkExecutionPolicy(const CommandDescriptor& descriptor, const CommandId& id,
UUID-backed identifier adapter for legacy textual boundaries.
Definition Identity.h:314
Deterministic owning value tree shared by authoring hosts.
Definition EditingValue.h:19
Registry and execution gate for UI-, script- and automation-neutral commands.
Definition EditorCommandService.h:51
uint64_t revision() const
Monotonic registry generation changed by registration mutations.
Definition EditorCommandService.h:86
Hosts interchangeable editor tools and routes their lifecycle/input.
Definition EditorSession.h:30
Upper capability boundary for one editor host.
Definition EditorHostProfile.h:51
Definition ActionPreviewController.cpp:6
std::function< Result< TransactionReceipt >(const CommandRequest &, const CommandPlan &)> EditorCommandPlanExecutor
Definition EditorCommandService.h:42
std::function< Result< EditorValue >(const CommandContext &, const EditorValue &)> EditorCommandHandler
Definition EditorCommandService.h:39
HostFeature
Coarse host features used to discover and gate editor extensions.
Definition EditorHostProfile.h:18
std::function< Result< CommandPlan >(const CommandRequest &)> EditorCommandPlanner
Definition EditorCommandService.h:40
Immutable execution context captured for a synchronous command.
Definition EditorCommandService.h:20
uint64_t targetRevision
Definition EditorCommandService.h:24
Presentation and execution metadata for a registered command.
Definition EditorCommandService.h:29
bool createsTransaction
Definition EditorCommandService.h:35
bool automationAllowed
Definition EditorCommandService.h:36
HostFeature requiredFeatures
Definition EditorCommandService.h:34
std::string ownerModule
Definition EditorCommandService.h:31
std::string displayName
Definition EditorCommandService.h:32