Inherits AZ::DocumentPropertyEditor::RowSortAdapter.
|
| SortInfoNode * | NewSortInfoNode () const override |
| |
| void | CacheDomInfoForNode (const Dom::Value &domValue, SortInfoNode *sortNode) const override |
| |
| bool | LessThan (SortInfoNode *lhs, SortInfoNode *rhs) const override |
| |
| Dom::Value | GenerateContents () override |
| |
| void | HandleReset () override |
| |
| void | HandleDomChange (const Dom::Patch &patch) override |
| |
|
SortInfoNode * | GetNodeAtSourcePath (Dom::Path sourcePath) |
| |
|
void | GenerateFullTree () |
| |
|
void | PopulateChildren (const Dom::Value &value, SortInfoNode *sortInfo) |
| |
|
Dom::Value | GetSortedValue (const Dom::Value &sourceValue, SortInfoNode *sortInfo) |
| |
|
void | ResortRow (Dom::Path sourcePath, Dom::Patch &outgoingPatch) |
| | re-sorts the row at the given path relative to its siblings and adds a patch operation if its place changed
|
| |
|
void | GenerateMovePatches (const SortInfoNode *sortNode, Dom::Path parentPath, bool mapToSource, Dom::Patch &outgoingPatch) |
| |
|
void | HandleDomMessage (const AZ::DocumentPropertyEditor::AdapterMessage &message, Dom::Value &value) |
| |
|
bool | IsRow (const Dom::Path &sourcePath) const |
| |
|
Dom::Path | GetRowPath (const Dom::Path &sourcePath) const |
| | returns the first path in the ancestry of sourcePath that is of type Row, including self
|
| |
| virtual Dom::Value | HandleMessage (const AdapterMessage &message) |
| |
| void | NotifyResetDocument (DocumentResetType resetType=DocumentResetType::SoftReset) |
| |
| void | NotifyContentsChanged (const Dom::Patch &patch) |
| |
|
void | NotifyFilterChanged (const AZStd::string &filter) |
| | Subclasses may call this to notify the view that this adapter's content has been filtered.
|
| |
|
|
bool | m_caseSensitive = false |
| |
|
size_t | m_sortColumn = 0 |
| |
|
Name | m_sortAttributeName |
| |
|
AZStd::unique_ptr< SortInfoNode > | m_rootNode |
| |
|
bool | m_sortActive = true |
| |
|
DocumentAdapter::ResetEvent::Handler | m_resetHandler |
| |
|
ChangedEvent::Handler | m_changedHandler |
| |
|
MessageEvent::Handler | m_domMessageHandler |
| |
|
DocumentAdapterPtr | m_sourceAdapter |
| |
|
|
using | ResetEvent = Event<> |
| |
|
using | ChangedEvent = Event< const Dom::Patch & > |
| |
|
using | MessageEvent = Event< const AdapterMessage &, Dom::Value & > |
| |
|
using | FilterEvent = Event< const AZStd::string & > |
| |
| static bool | IsDebugModeEnabled () |
| |
| static void | SetDebugModeEnabled (bool enableDebugMode) |
| |
|
static bool | IsRow (const Dom::Value &domValue) |
| | convenience method to determine whether a particular Dom Value is a row
|
| |
| enum class | DocumentResetType { SoftReset
, HardReset
} |
| | Specifies the type of reset operation triggered in NotifyResetDocument. More...
|
| |
|
static bool | IsRow (const Dom::Value &domValue) |
| | convenience method to determine whether a particular Dom Value is a row
|
| |
◆ CacheDomInfoForNode()
| void AZ::DocumentPropertyEditor::ValueStringSort::CacheDomInfoForNode |
( |
const Dom::Value & |
domValue, |
|
|
SortInfoNode * |
sortNode |
|
) |
| const |
|
overrideprotectedvirtual |
◆ LessThan()
virtual method that determines the ordering of the nodes within the adapter NB! The implementation relies on there never being a tie, i.e. don't allow this: !(a < b) && !(b < a) The best way to avoid this is to call this base implementation (which maintains the original sorting of the source adapter) for otherwise equal values
Reimplemented from AZ::DocumentPropertyEditor::RowSortAdapter.
◆ NewSortInfoNode()
| SortInfoNode * AZ::DocumentPropertyEditor::ValueStringSort::NewSortInfoNode |
( |
| ) |
const |
|
overrideprotectedvirtual |
The documentation for this class was generated from the following file:
- Code/Framework/AzFramework/AzFramework/DocumentPropertyEditor/ValueStringSort.h