Class ADConfigTranslationHelper
java.lang.Object
de.mid.innovator.srv2api.icw2meta.ADConfigTranslationHelper
This is a utility class for ADConfigTranslation that provides static methods for creation or other purposes.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetConfigTranslationDlgInit(SrvContext srvCtx, List<? extends ADClientAble> seqSel, boolean isName) Fills the imported translation dialog.static voidsetConfigTranslationDlg(SrvContext srvCtx, List<? extends ADClientAble> seqSel, boolean isName, List<ARG_UpdateTranslation> seqTrans) Updates the imported translation of property values for the specified elements.
-
Method Details
-
getConfigTranslationDlgInit
public static ARG_GetProfileTranslationDlgInitOut getConfigTranslationDlgInit(SrvContext srvCtx, List<? extends ADClientAble> seqSel, boolean isName) throws InoNetException, SrvErrorException Fills the imported translation dialog.- Parameters:
srvCtx- The context of the related innovator server.seqSel- selected elements which are translatedisName- true, if property name is translated- Throws:
InoNetExceptionSrvErrorException
-
setConfigTranslationDlg
public static void setConfigTranslationDlg(SrvContext srvCtx, List<? extends ADClientAble> seqSel, boolean isName, List<ARG_UpdateTranslation> seqTrans) throws InoNetException, SrvErrorException Updates the imported translation of property values for the specified elements. If no translation exists for a property a new one will be created. Use parameter isName to decide, whether the name or the description of elements, the lock message of profiles or the elements heading of view chapters is translated.- Parameters:
srvCtx- The context of the related innovator server.seqSel- selected elements which are translatedisName- true, if property name is translatedseqTrans- translations of property values- Throws:
InoNetExceptionSrvErrorException
-