/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include namespace AtomToolsFramework { void AtomToolsFrameworkSystemComponent::Reflect(AZ::ReflectContext* context) { AtomToolsDocument::Reflect(context); AtomToolsAnyDocument::Reflect(context); AtomToolsDocumentSystem::Reflect(context); CreateDynamicNodeMimeEvent::Reflect(context); DynamicNode::Reflect(context); DynamicProperty::Reflect(context); DynamicPropertyGroup::Reflect(context); EntityPreviewViewportSettingsSystem::Reflect(context); GraphCompiler::Reflect(context); GraphDocument::Reflect(context); GraphViewSettings::Reflect(context); GraphViewConstructPresets::Reflect(context); InspectorWidget::Reflect(context); if (auto serialize = azrtti_cast(context)) { serialize->RegisterGenericType>(); serialize->RegisterGenericType>>(); serialize->Class() ->Version(0) ; if (auto editContext = serialize->GetEditContext()) { editContext->Class("AtomToolsFrameworkSystemComponent", "") ->ClassElement(AZ::Edit::ClassElements::EditorData, "") ->Attribute(AZ::Edit::Attributes::AutoExpand, true) ; } } } void AtomToolsFrameworkSystemComponent::GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided) { provided.push_back(AZ_CRC_CE("AtomToolsFrameworkSystemService")); } void AtomToolsFrameworkSystemComponent::GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible) { incompatible.push_back(AZ_CRC_CE("AtomToolsFrameworkSystemService")); } void AtomToolsFrameworkSystemComponent::GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required) { AZ_UNUSED(required); } void AtomToolsFrameworkSystemComponent::GetDependentServices(AZ::ComponentDescriptor::DependencyArrayType& dependent) { AZ_UNUSED(dependent); } void AtomToolsFrameworkSystemComponent::Init() { } void AtomToolsFrameworkSystemComponent::Activate() { RegisterStringBrowseEditHandler(); } void AtomToolsFrameworkSystemComponent::Deactivate() { } }