Grid Placement

GBActionLog

AUTO-GENERATED FILE — DO NOT EDIT MANUALLY

Source: ui/actions/gb_action_log.gd

Version: 5.1

class_name: GBActionLog extends: GBControl

Summary

Shows recent messages from the grid building plugin actions within the context of the GBCompositionContainer scope

Signals

(none)

Exports

  • message_log
    • Visual output area for where messages go when output from the build log

Methods

  • _disconnect_placement_service()
    • DRY helper: Disconnect building state signals
  • _connect_placement_service()
    • DRY helper: Connect building state signals
  • _disconnect_manipulation_service()
    • DRY helper: Disconnect manipulation state signals
  • _connect_manipulation_service()
    • DRY helper: Connect manipulation state signals
  • _disconnect_mode_service()
    • DRY helper: Disconnect mode state signals
  • _connect_mode_service()
    • DRY helper: Connect mode state signals
  • _ready()
  • resolve_gb_dependencies()
  • clear_log()
  • get_settings()
    • Lazy initialization for settings - only creates defaults if not injected Public getter for testing and external access
  • validate_setup()
    • Validates that all required dependencies are present
  • append_validation_results()
    • Adds validation results to the log as settings request.
  • append_placement_report_issues()
    • DRY helper: Adds placement report issues to the log
  • _append_issues_list()
    • DRY helper: Appends a list of issue strings to the message log
  • append_manipulation()
  • should_show()
    • Checks whether the action data should show in the log or not.
  • _print_reasons()
    • Prints the reasons for each rule result to the message log. p_failed_only: bool - Whether to print only failed results (default true)
  • _get_display_name_safe()
    • DRY helper: Determines display name for objects with fallback
  • _handle_build_result()
    • DRY helper: Handles color and message formatting for build results
  • _on_build_success()
  • _on_build_failed()
  • _handle_manipulation_result()
    • DRY helper: Handles manipulation result display with consistent color coding
  • _on_manipulation_started()
  • _on_manipulation_failed()
  • _on_manipulation_finished()
  • _on_mode_changed()
    • Handles mode change events and outputs to action log if enabled