ConfigurationWindowBus.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. #include <AzCore/EBus/EBus.h>
  10. namespace PhysX
  11. {
  12. namespace Editor
  13. {
  14. /// Request bus for communicating with the configuration window.
  15. /// Ensure the configuration window has been opened by
  16. /// calling EditorRequests::OpenViewPane before using this bus.
  17. class ConfigurationWindowRequests
  18. : public AZ::EBusTraits
  19. {
  20. public:
  21. /// Shows the collision layers tab in the configuration window
  22. virtual void ShowCollisionLayersTab() = 0;
  23. /// Shows the collision groups tab in the configuration window
  24. virtual void ShowCollisionGroupsTab() = 0;
  25. /// Shows the global settings tab in the configuration window
  26. virtual void ShowGlobalSettingsTab() = 0;
  27. };
  28. using ConfigurationWindowRequestBus = AZ::EBus<ConfigurationWindowRequests>;
  29. }
  30. }