|
@@ -16,17 +16,15 @@ namespace AWSClientAuth
|
|
{
|
|
{
|
|
void AWSClientAuthEditorSystemComponent::Reflect(AZ::ReflectContext* context)
|
|
void AWSClientAuthEditorSystemComponent::Reflect(AZ::ReflectContext* context)
|
|
{
|
|
{
|
|
- AWSClientAuthSystemComponent::Reflect(context);
|
|
|
|
-
|
|
|
|
AZ::SerializeContext* serialize = azrtti_cast<AZ::SerializeContext*>(context);
|
|
AZ::SerializeContext* serialize = azrtti_cast<AZ::SerializeContext*>(context);
|
|
if (serialize)
|
|
if (serialize)
|
|
{
|
|
{
|
|
- serialize->Class<AWSClientAuthEditorSystemComponent, AWSClientAuthSystemComponent>()
|
|
|
|
|
|
+ serialize->Class<AWSClientAuthEditorSystemComponent, AZ::Component>()
|
|
;
|
|
;
|
|
|
|
|
|
if (AZ::EditContext* ec = serialize->GetEditContext())
|
|
if (AZ::EditContext* ec = serialize->GetEditContext())
|
|
{
|
|
{
|
|
- ec->Class<AWSClientAuthSystemComponent>("AWSClientAuthEditor", "Provides Client Authentication and Authorization implementations")
|
|
|
|
|
|
+ ec->Class<AWSClientAuthEditorSystemComponent>("AWSClientAuthEditor", "Provides Client Authentication and Authorization implementations")
|
|
->ClassElement(AZ::Edit::ClassElements::EditorData, "")
|
|
->ClassElement(AZ::Edit::ClassElements::EditorData, "")
|
|
->Attribute(AZ::Edit::Attributes::AutoExpand, true);
|
|
->Attribute(AZ::Edit::Attributes::AutoExpand, true);
|
|
}
|
|
}
|
|
@@ -52,22 +50,13 @@ namespace AWSClientAuth
|
|
{
|
|
{
|
|
}
|
|
}
|
|
|
|
|
|
- void AWSClientAuthEditorSystemComponent::Init()
|
|
|
|
- {
|
|
|
|
- AWSClientAuthSystemComponent::Init();
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
void AWSClientAuthEditorSystemComponent::Activate()
|
|
void AWSClientAuthEditorSystemComponent::Activate()
|
|
{
|
|
{
|
|
- AWSClientAuthSystemComponent::Activate();
|
|
|
|
-
|
|
|
|
AzToolsFramework::ActionManagerRegistrationNotificationBus::Handler::BusConnect();
|
|
AzToolsFramework::ActionManagerRegistrationNotificationBus::Handler::BusConnect();
|
|
}
|
|
}
|
|
|
|
|
|
void AWSClientAuthEditorSystemComponent::Deactivate()
|
|
void AWSClientAuthEditorSystemComponent::Deactivate()
|
|
{
|
|
{
|
|
- AWSClientAuthSystemComponent::Deactivate();
|
|
|
|
-
|
|
|
|
AzToolsFramework::ActionManagerRegistrationNotificationBus::Handler::BusDisconnect();
|
|
AzToolsFramework::ActionManagerRegistrationNotificationBus::Handler::BusDisconnect();
|
|
}
|
|
}
|
|
|
|
|