Inherits AZ::DocumentPropertyEditor::ComponentAdapter.
|
void | SetComponent (AZ::Component *componentInstance) override |
| Sets the component, connects the appropriate Bus Handlers and sets the reflect data for this instance.
|
|
void | CreateLabel (AZ::DocumentPropertyEditor::AdapterBuilder *adapterBuilder, AZStd::string_view labelText, AZStd::string_view serializedPath) override |
|
AZ::Dom::Value | HandleMessage (const AZ::DocumentPropertyEditor::AdapterMessage &message) override |
|
void | UpdateDomContents (const PropertyChangeInfo &propertyChangeInfo) override |
|
| ComponentAdapter () |
| Creates an uninitialized (empty) ComponentAdapter.
|
|
| ComponentAdapter (AZ::Component *componentInstance) |
| Creates a ComponentAdapter with a specific component instance, see SetComponent.
|
|
void | OnEntityComponentPropertyChanged (AZ::ComponentId componentId) override |
|
void | InvalidatePropertyDisplay (AzToolsFramework::PropertyModificationRefreshLevel level) override |
|
void | RequestRefresh (AzToolsFramework::PropertyModificationRefreshLevel level) override |
|
virtual void | SetComponent (AZ::Component *componentInstance) |
| Sets the component, connects the appropriate Bus Handlers and sets the reflect data for this instance.
|
|
void | DoRefresh () |
| Trigger a refresh based on messages from the listeners.
|
|
Dom::Value | HandleMessage (const AdapterMessage &message) override |
|
void | CreateLabel (AdapterBuilder *adapterBuilder, AZStd::string_view labelText, AZStd::string_view serializedPath) override |
|
void | OnEntityDestruction (const AZ::EntityId &) override |
| Gets notification from the EntitySystemBus before destroying an entity.
|
|
◆ SetComponent()
void AzToolsFramework::Prefab::PrefabComponentAdapter::SetComponent |
( |
AZ::Component * |
componentInstance | ) |
|
|
overridevirtual |
◆ UpdateDomContents()
void AzToolsFramework::Prefab::PrefabComponentAdapter::UpdateDomContents |
( |
const PropertyChangeInfo & |
propertyChangeInfo | ) |
|
|
override |
Updates the DPE DOM using the property change information provided. If the property is owned by the focused prefab, the change is applied as direct template edit. If the property is owned by descendant of the focused prefab, it is applied as an override from the focused prefab.
- Parameters
-
propertyChangeInfo | The object containing information about the property change. |
The documentation for this class was generated from the following file:
- Code/Framework/AzToolsFramework/AzToolsFramework/Prefab/DocumentPropertyEditor/PrefabComponentAdapter.h