Class TranslationFunction

  • All Implemented Interfaces:
    Function

    public class TranslationFunction
    extends com.inductiveautomation.ignition.gateway.expressions.GatewayFunctionFactory.TranslateFunction
    • Field Summary

      • Fields inherited from class com.inductiveautomation.ignition.gateway.expressions.GatewayFunctionFactory.TranslateFunction

        context, il, translationPackage
    • Method Detail

      • connect

        public void connect​(CommonContext context,
                            InteractionListener updateListener)
        Description copied from class: BaseFunction
        Empty implementation from BaseFunction. Override if necessary.
        Specified by:
        connect in interface Function
        Overrides:
        connect in class com.inductiveautomation.ignition.gateway.expressions.GatewayFunctionFactory.TranslateFunction
      • disconnect

        public void disconnect()
        Description copied from class: BaseFunction
        Empty implementation from BaseFunction. Override if necessary.
        Specified by:
        disconnect in interface Function
        Overrides:
        disconnect in class com.inductiveautomation.ignition.gateway.expressions.GatewayFunctionFactory.TranslateFunction
      • parseProvidedLocale

        protected java.util.Locale parseProvidedLocale​(java.lang.Object localeValue)
                                                throws java.lang.Exception
        Overrides:
        parseProvidedLocale in class com.inductiveautomation.ignition.gateway.expressions.GatewayFunctionFactory.TranslateFunction
        Throws:
        java.lang.Exception
      • getDefaultLocale

        protected java.util.Locale getDefaultLocale()
        Overrides:
        getDefaultLocale in class com.inductiveautomation.ignition.gateway.expressions.GatewayFunctionFactory.TranslateFunction
      • copy

        public Function copy()
        Description copied from class: BaseFunction
        Returns this. Override to create a clone if you need a unique function object per Expression.
        Specified by:
        copy in interface Function
        Overrides:
        copy in class com.inductiveautomation.ignition.gateway.expressions.GatewayFunctionFactory.TranslateFunction