Class MMProfileTranslationHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2meta.MMProfileTranslationHelper
-
public abstract class MMProfileTranslationHelper extends java.lang.Object
This is a utility class for MMProfileTranslation that provides static methods for creation or other purposes.- See Also:
MMProfileTranslation
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ARG_GetProfileTranslationDlgInitOut
getProfileTranslationDlgInit(SrvContext srvCtx, java.util.List<? extends ADClientAble> seqSel, boolean isName)
Fills the translation dialog.static void
setProfileTranslationDlg(SrvContext srvCtx, java.util.List<? extends ADClientAble> seqSel, boolean isName, java.util.List<ARG_UpdateTranslation> seqTrans)
Updates the translation of property values for the specified elements.
-
-
-
Method Detail
-
getProfileTranslationDlgInit
public static ARG_GetProfileTranslationDlgInitOut getProfileTranslationDlgInit(SrvContext srvCtx, java.util.List<? extends ADClientAble> seqSel, boolean isName) throws InoNetException, SrvErrorException
Fills the translation dialog.- Parameters:
srvCtx
- The context of the related innovator server.seqSel
- selected elements which are translatedisName
- true, if property name is translated- Throws:
InoNetException
SrvErrorException
-
setProfileTranslationDlg
public static void setProfileTranslationDlg(SrvContext srvCtx, java.util.List<? extends ADClientAble> seqSel, boolean isName, java.util.List<ARG_UpdateTranslation> seqTrans) throws InoNetException, SrvErrorException
Updates the 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:
InoNetException
SrvErrorException
-
-