Class ResourceUiRegistry

java.lang.Object
uno.anahata.asi.swing.agi.resources.ResourceUiRegistry

public class ResourceUiRegistry extends Object
A singleton registry that holds the active ResourceUI strategy for the host environment.

This allows the Core Swing UI to remain host-agnostic while enabling specialized modules (like NetBeans) to register their own high-fidelity resource management logic.

Author:
anahata
  • Field Details

    • INSTANCE

      private static final ResourceUiRegistry INSTANCE
      The singleton instance of the registry.
    • resourceUI

      private ResourceUI resourceUI
      The active UI strategy provider. Defaults to null; host applications must register their preferred UI.
  • Constructor Details

    • ResourceUiRegistry

      public ResourceUiRegistry()
  • Method Details

    • getInstance

      public static ResourceUiRegistry getInstance()
      Gets the singleton instance.
      Returns:
      The registry instance.