载入中...
搜索中...
未找到
EditorPropertyPresenter.h
浏览该文件的文档.
1#pragma once
2#include "common/Export.h"
3
4
7
8#include <vector>
9
10namespace eve::editor {
11
17
20 std::string typeId;
21 std::uint32_t schemaVersion = 1;
22 std::vector<PropertyPresentationRow> rows;
23};
24
27 CommandId command = CommandId("editor.property.set");
29};
30
33public:
35 PropertyPresentation present(const PropertySchema& schema, const SelectionSnapshot& selection,
36 const IPropertyProvider& provider) const;
38 Result<PropertyEditIntent> editIntent(const PropertySchema& schema, const SelectionSnapshot& selection,
39 const PropertyPath& path, const EditorValue& value,
40 PropertySetMode mode = PropertySetMode::Absolute) const;
41};
42
45public:
47 PropertyPresentation present(const PropertySchema& schema, const SelectionSnapshot& selection,
48 const IPropertyProvider& provider, const HostProfile& profile) const;
50 Result<PropertyEditIntent> editIntent(const PropertySchema& schema, const SelectionSnapshot& selection,
51 const PropertyPath& path, const EditorValue& value,
52 const HostProfile& profile,
53 PropertySetMode mode = PropertySetMode::Absolute) const;
54};
55
56} // namespace eve::editor
double value
#define EVENGINE_API_ORCHESTRATION
Definition Export.h:111
std::string path
Definition PlayHost.cpp:110
Move-only operation result carrying either a value or Status.
Definition Result.h:155
UUID-backed identifier adapter for legacy textual boundaries.
Definition Identity.h:314
UI-independent property access for an immutable selection snapshot.
Dotted property path (layout.size) compared and persisted as text.
Definition EditingIds.h:78
Deterministic owning value tree shared by authoring hosts.
Shared presenter logic that exposes developer-oriented property rows.
Upper capability boundary for one editor host.
Shared presenter logic that exposes only runtime-safe property rows.
PropertySetMode
PropertySetMode public API.
eve::editing::CommandId CommandId
Definition EditorIds.h:30
PropertyDescriptor public API.
PropertyReadResult public API.
EVENGINE_API_PLATFORM public API.
SelectionSnapshot public API.
Command intent emitted by a presenter instead of calling a setter.
Read-only row produced for a concrete property UI adapter.
Immutable presentation model consumed by developer or game UI.
std::vector< PropertyPresentationRow > rows