载入中...
搜索中...
未找到
EditorPropertyPresenter.cpp
浏览该文件的文档.
13Result<PropertyEditIntent> makeIntent(const PropertySchema& schema, const SelectionSnapshot& selection,
18 return eve::editing::failed<PropertyEditIntent>(EditorStatus::NotFound, RuleId("editor.property.not-found"),
22 return eve::editing::failed<PropertyEditIntent>(EditorStatus::Rejected, RuleId("editor.property.runtime-hidden"),
62PropertyPresentation RuntimePropertyPresenter::present(const PropertySchema& schema, const SelectionSnapshot& selection,
static Result failure(Status status)
Construct a failed result from a structured status.
Definition Result.h:175
UUID-backed identifier adapter for legacy textual boundaries.
Definition Identity.h:314
const std::string & value() const noexcept
Returns the exact legacy or canonical compatibility spelling.
Definition Identity.h:362
UI-independent property access for an immutable selection snapshot.
Definition EditingProperty.h:139
virtual PropertyReadResult read(const SelectionSnapshot &selection, const PropertyPath &path) const =0
Reads read.
Dotted property path (layout.size) compared and persisted as text.
Definition EditingIds.h:78
Deterministic owning value tree shared by authoring hosts.
Definition EditingValue.h:19
PropertyPresentation present(const PropertySchema &schema, const SelectionSnapshot &selection, const IPropertyProvider &provider) const
Read every schema property, including advanced/editor-only rows.
Definition EditorPropertyPresenter.cpp:42
Upper capability boundary for one editor host.
Definition EditorHostProfile.h:51
Result< void > validatePropertyValue(const PropertyDescriptor &descriptor, const Value &value)
Validate property value.
Definition EditingProperty.cpp:138
constexpr bool hasPropertyFlag(PropertyFlag value, PropertyFlag flag)
True when property flag.
Definition EditingProperty.h:63
Definition ActionPreviewController.cpp:6
eve::editing::Value EditorValue
Compatibility alias for the UI-independent authoring value tree.
Definition EditorValue.h:8
eve::editing::SelectionItem SelectionItem
Stable item stored in a selection snapshot.
Definition EditorSelection.h:22
eve::editing::SelectionSnapshot SelectionSnapshot
Immutable multi-selection captured for property and command work.
Definition EditorSelection.h:25
eve::editing::PropertySetMode PropertySetMode
Definition EditorProperty.h:22
eve::editing::PropertySchema PropertySchema
Definition EditorProperty.h:19
std::vector< PropertyDescriptor > properties
Definition EditingProperty.h:120
Immutable presentation model consumed by developer or game UI.
Definition EditorPropertyPresenter.h:19
std::uint32_t schemaVersion
Definition EditorPropertyPresenter.h:21
std::vector< PropertyPresentationRow > rows
Definition EditorPropertyPresenter.h:22