Class PerspectiveTranslateFunction

java.lang.Object
com.inductiveautomation.ignition.common.expressions.functions.BaseFunction
com.inductiveautomation.ignition.common.expressions.functions.AbstractFunction
com.inductiveautomation.ignition.gateway.expressions.GatewayFunctionFactory.TranslateFunction
com.inductiveautomation.perspective.gateway.expression.PerspectiveTranslateFunction
All Implemented Interfaces:
Function

public class PerspectiveTranslateFunction extends com.inductiveautomation.ignition.gateway.expressions.GatewayFunctionFactory.TranslateFunction
  • Method Details

    • 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
      Parameters:
      context - the CommonContext used to look up external resources
      updateListener - the InteractionListener to notify when the function value changes
    • 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
    • getDefaultLocale

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

      protected TranslationPackage getTranslationPackage()
      Overrides:
      getTranslationPackage 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
      Returns:
      a copy of this function