Class MMTextHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2meta.MMTextHelper
-
public abstract class MMTextHelper extends java.lang.ObjectRepresents a text definition.- See Also:
MMText
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MMTextcreate(SrvContext srvCtx, MMProfile ohProfile, MM2Classification ohMM2Classification, java.lang.String name, java.lang.String preset, boolean useInDocumentation, boolean isFlowDocument)Creates a new text definition.static ARG_ModifyChangeableFontDlgInitOutgetModifyChangeableFontDlgInit(SrvContext srvCtx, java.util.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, java.util.List<? extends ADClientAble> seqElem, java.lang.String strFont, boolean isChangeable)Modify the font and changeable flag for a list of text definitions or stereotypes.
-
-
-
Method Detail
-
getModifyChangeableFontDlgInit
public static ARG_ModifyChangeableFontDlgInitOut getModifyChangeableFontDlgInit(SrvContext srvCtx, java.util.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, java.lang.String name, java.lang.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, java.util.List<? extends ADClientAble> seqElem, java.lang.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
-
-