asset_editor.py 786 B

12345678910111213141516171819202122232425262728293031
  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. SPDX-License-Identifier: Apache-2.0 OR MIT
  5. Holds asset editor related constants
  6. """
  7. import os
  8. import azlmbr.paths as paths
  9. """
  10. Constants for Asset Editor
  11. """
  12. ASSET_EDITOR_UI = "Asset Editor"
  13. SCRIPT_EVENT_UI = "Script Events"
  14. SAVE_ASSET_AS = "SaveAssetAs"
  15. DEFAULT_SCRIPT_EVENT = "EventName"
  16. DEFAULT_METHOD_NAME = "MethodName"
  17. PARAMETER_NAME = "ParameterName"
  18. EVENTS_QT = "Events"
  19. EVENT_NAME_QT = "EventName"
  20. NODE_TEST_METHOD = "test_method_name"
  21. """
  22. specific path constant. Move this file path to the associated test
  23. """
  24. SCRIPT_EVENT_FILE_PATH = os.path.join(paths.projectroot, "ScriptCanvas", "test_file.scriptevent")