载入中...
搜索中...
未找到
EditorSelectionRouter.cpp
浏览该文件的文档.
13 return eve::editing::failed<std::string>(EditorStatus::Failed, RuleId("editor.selection.no-host"),
18 return eve::editing::failed<std::string>(selected.code(), RuleId("editor.selection.apply-failed"),
27 if (!capability.empty() && !item.type.empty() && capability.find(item.type) == std::string::npos) {
37 if (workspace.getPanelContext(index) != "inspector" || !workspace.getPanelVisible(index)) continue;
UUID-backed identifier adapter for legacy textual boundaries.
Definition Identity.h:313
Composition runtime that discovers EditorPackage providers and installs them.
Definition EditorHost.h:53
const std::string & selectionChannel() const
Host selection channel used by SelectionRouter.
Definition EditorHost.h:94
EditorSelectionRouter(EditorHost &host)
Definition EditorSelectionRouter.cpp:7
Result< std::string > select(const SelectionItem &item, bool additive=false)
Apply a selection and activate a matching inspector panel.
Definition EditorSelectionRouter.cpp:11
Composition model shared by project-specific developer and runtime editors.
Definition EditorWorkspace.h:43
std::string getPanelCapability(int index) const
Panel capability requirement by deterministic index.
Definition EditorVolumeTarget.cpp:269
std::string getPanelContext(int index) const
Panel input context by deterministic index.
Definition EditorVolumeTarget.cpp:274
Result< SelectionSnapshot > selectItem(std::string channel, SelectionItem item, bool additive)
Select one already typed item without string domain parsing.
Definition EditorVolumeTarget.cpp:327
Result< WorkspacePanelDescriptor > activatePanel(const StableId &id)
Activate a visible panel with structured not-found/rejected results.
Definition EditorVolumeTarget.cpp:236
int getPanelCount() const
Number of registered panels in deterministic region/order/id order.
Definition EditorWorkspace.h:93
bool getPanelVisible(int index) const
Panel visibility by deterministic index.
Definition EditorVolumeTarget.cpp:284
std::string getPanelId(int index) const
Panel id by deterministic index.
Definition EditorVolumeTarget.cpp:254
bool clearSelection(const std::string &channel)
Clear one semantic selection channel.
Definition EditorVolumeTarget.cpp:340
Definition ActionPreviewController.cpp:6