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 void
accept(LocaleChangeEvent ignored)
void
connect(CommonContext context, InteractionListener updateListener)
Empty implementation from BaseFunction.Function
copy()
Returns this.void
disconnect()
Empty implementation from BaseFunction.protected java.util.Locale
getDefaultLocale()
protected java.util.Locale
parseProvidedLocale(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:BaseFunction
Empty implementation from BaseFunction. Override if necessary.
-
disconnect
public void disconnect()
Description copied from class:BaseFunction
Empty implementation from BaseFunction. Override if necessary.- Specified by:
disconnect
in interfaceFunction
- Overrides:
disconnect
in classcom.inductiveautomation.ignition.gateway.expressions.GatewayFunctionFactory.TranslateFunction
-
parseProvidedLocale
protected java.util.Locale parseProvidedLocale(java.lang.Object localeValue) throws java.lang.Exception
- Overrides:
parseProvidedLocale
in classcom.inductiveautomation.ignition.gateway.expressions.GatewayFunctionFactory.TranslateFunction
- Throws:
java.lang.Exception
-
getDefaultLocale
protected java.util.Locale getDefaultLocale()
- Overrides:
getDefaultLocale
in classcom.inductiveautomation.ignition.gateway.expressions.GatewayFunctionFactory.TranslateFunction
-
accept
public void accept(LocaleChangeEvent ignored)
-
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.
-
-