Class TranslationFunction
- 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.TranslationFunction
-
- All Implemented Interfaces:
Function
public class TranslationFunction extends com.inductiveautomation.ignition.gateway.expressions.GatewayFunctionFactory.TranslateFunction
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(LocaleChangeEvent ignored)voidconnect(CommonContext context, InteractionListener updateListener)Empty implementation from BaseFunction.Functioncopy()Returns this.voiddisconnect()Empty implementation from BaseFunction.protected java.util.LocalegetDefaultLocale()protected java.util.LocaleparseProvidedLocale(java.lang.Object localeValue)-
Methods inherited from class com.inductiveautomation.ignition.gateway.expressions.GatewayFunctionFactory.TranslateFunction
execute, getArgDocString, getFunctionDisplayName, getTranslationPackage, getType, onTranslationsUpdated, validateNumArgs
-
Methods inherited from class com.inductiveautomation.ignition.common.expressions.functions.AbstractFunction
executeArg, initArgs, log
-
Methods inherited from class com.inductiveautomation.ignition.common.expressions.functions.BaseFunction
executeAll, shutdown, startup
-
-
-
-
Method Detail
-
connect
public void connect(CommonContext context, InteractionListener updateListener)
Description copied from class:BaseFunctionEmpty implementation from BaseFunction. Override if necessary.
-
disconnect
public void disconnect()
Description copied from class:BaseFunctionEmpty implementation from BaseFunction. Override if necessary.- Specified by:
disconnectin interfaceFunction- Overrides:
disconnectin classcom.inductiveautomation.ignition.gateway.expressions.GatewayFunctionFactory.TranslateFunction
-
parseProvidedLocale
protected java.util.Locale parseProvidedLocale(java.lang.Object localeValue) throws java.lang.Exception- Overrides:
parseProvidedLocalein classcom.inductiveautomation.ignition.gateway.expressions.GatewayFunctionFactory.TranslateFunction- Throws:
java.lang.Exception
-
getDefaultLocale
protected java.util.Locale getDefaultLocale()
- Overrides:
getDefaultLocalein classcom.inductiveautomation.ignition.gateway.expressions.GatewayFunctionFactory.TranslateFunction
-
accept
public void accept(LocaleChangeEvent ignored)
-
copy
public Function copy()
Description copied from class:BaseFunctionReturns this. Override to create a clone if you need a unique function object per Expression.
-
-