Class MMTextHelper
java.lang.Object
de.mid.innovator.srv2api.icw2meta.MMTextHelper
Represents a text definition.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic MMTextcreate(SrvContext srvCtx, MMProfile ohProfile, MM2Classification ohMM2Classification, String name, String preset, boolean useInDocumentation, boolean isFlowDocument) Creates a new text definition.getModifyChangeableFontDlgInit(SrvContext srvCtx, List<? extends ELElement> seq) Fills the dialog to modify the font and the changeable flag for a list of text definitions or stereotypes.static voidmodifyChangeableFontDlg(SrvContext srvCtx, List<? extends ADClientAble> seqElem, String strFont, boolean isChangeable) Modify the font and changeable flag for a list of text definitions or stereotypes.
-
Method Details
-
getModifyChangeableFontDlgInit
public static ARG_ModifyChangeableFontDlgInitOut getModifyChangeableFontDlgInit(SrvContext srvCtx, List<? extends ELElement> seq) throws InoNetException, SrvErrorException Fills the dialog to modify the font and the changeable flag for a list of text definitions or stereotypes.- Parameters:
srvCtx- The context of the related innovator server.seq- List of ELElement- Throws:
InoNetExceptionSrvErrorException
-
create
public static MMText create(SrvContext srvCtx, MMProfile ohProfile, MM2Classification ohMM2Classification, String name, String preset, boolean useInDocumentation, boolean isFlowDocument) throws InoNetException, SrvErrorException Creates a new text definition.- Parameters:
srvCtx- The context of the related innovator server.ohProfile- The profile as containerohMM2Classification- Meta class or stereotypename- Name of the text elementpreset- Preset value of the text elementuseInDocumentation- isTrue, if the text element is normally displayed within the documentationisFlowDocument- isTrue, if the text element is FlowDocument- Throws:
InoNetExceptionSrvErrorException
-
modifyChangeableFontDlg
public static void modifyChangeableFontDlg(SrvContext srvCtx, List<? extends ADClientAble> seqElem, String strFont, boolean isChangeable) throws InoNetException, SrvErrorException Modify the font and changeable flag for a list of text definitions or stereotypes.- Parameters:
srvCtx- The context of the related innovator server.seqElem- list of elementsstrFont- font nameisChangeable- true, if font is changeable- Throws:
InoNetExceptionSrvErrorException
-