Class DefaultKStringInfoProviderHolder


  • public class DefaultKStringInfoProviderHolder
    extends java.lang.Object
    Class that holds the default KString information provider for the Designer or the Server. The default should be used as little as possible because it requires resolving the client KString information provider in the Server.
    Author:
    Christopher Mindus
    • Constructor Detail

      • DefaultKStringInfoProviderHolder

        public DefaultKStringInfoProviderHolder()
    • Method Detail

      • setKStringInfoProviderHolder

        public static void setKStringInfoProviderHolder​(IKStringInfoProviderHolder holder)
        Sets the IKStringInfoProviderHolder instance. This can only be done once in the Server and Designer, so do not attempt to call this method.
        Parameters:
        holder - The instance.
        Throws:
        java.lang.IllegalStateException - If the instance is already set.
      • getKStringInfoProviderHolder

        public static IKStringInfoProviderHolder getKStringInfoProviderHolder()
        Gets the IKStringInfoProviderHolder instance.
        Returns:
        The instance, or null if not set.
      • getKStringInfoProvider

        public static IKStringInfoProvider getKStringInfoProvider()
        Gets the IKStringInfoProvider instance for the current thread or a global instance.
        Returns:
        The instance, or null if none is found for the current thread or a global instance.