Class ADM2AttrModifyAbleHelper
java.lang.Object
de.mid.innovator.srv2api.icw2meta.ADM2AttrModifyAbleHelper
This is a utility class for ADM2AttrModifyAble that provides static methods for creation or other purposes.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetAsTree(SrvContext srvCtx, List<? extends ADClientAble> seqSel, String pattern, boolean ignoreCase, boolean lockOption, boolean addReferences) Transforms the provided elements in a tree representation.static ARG_PropertyRegionInitgetPropertyRegionInit(SrvContext srvCtx, List<? extends ADM2AttrModifyAble> seqSel) Provides all information needed to initialize the properties region control.getPropertyRegionInitLabelsExpander(SrvContext srvCtx, List<? extends ADM2AttrModifyAble> seqSel) Provides all information needed to initialize the labels expander of the properties region control.getPropertyRegionInitNotificationExpander(SrvContext srvCtx, List<? extends ADM2AttrModifyAble> seqSel) Provides all information needed to initialize the properties expander of the notification region control.getPropertyRegionInitPictureExpander(SrvContext srvCtx, List<? extends ADM2AttrModifyAble> seqSel) Provides all information needed to initialize the picture expander of the properties region control.getPropertyRegionInitPropertiesExpander(SrvContext srvCtx, List<? extends ADM2AttrModifyAble> seqSel) Provides all information needed to initialize the properties expander of the properties region control.getPropertyRegionInitSpecificationExpander(SrvContext srvCtx, List<? extends ADM2AttrModifyAble> seqSel) Provides all information needed to initialize the specification expander of the properties region control.getPropertyRegionInitTSOptionsExpander(SrvContext srvCtx, List<? extends ADM2AttrModifyAble> seqSel) Provides all information needed to initialize the options expander of the properties region control.static List<ARG_TabElement> getTabElementList(SrvContext srvCtx, List<? extends ADClientAble> seqElem, boolean wantColor, String strColorLabel, boolean wantText, List<? extends MM2TypedElement> seqPropHidden) Returns a list of all properties for the specified element list.static voidsetToDefaultByM2TypedElement(SrvContext srvCtx, List<? extends ADClientAble> seqSel, MM2TypedElement ohMM2TypedElement) Deletes the values for the property specified by parameter 'property' of the provided elements.
-
Method Details
-
getAsTree
public static ARG_TreeArgNameAbleSelectDlgNode getAsTree(SrvContext srvCtx, List<? extends ADClientAble> seqSel, String pattern, boolean ignoreCase, boolean lockOption, boolean addReferences) throws InoNetException, SrvErrorException Transforms the provided elements in a tree representation.- Parameters:
srvCtx- The context of the related innovator server.seqSel- elements displayed as tree (ignore invalid)pattern- take only elements matching this patternignoreCase- match pattern case sensitive or insensitivelockOption- provide option "lock"addReferences- consider MEReference assignments- Throws:
InoNetExceptionSrvErrorException
-
getPropertyRegionInitLabelsExpander
public static ARG_PropertyRegionInitPropertiesExpander getPropertyRegionInitLabelsExpander(SrvContext srvCtx, List<? extends ADM2AttrModifyAble> seqSel) throws InoNetException, SrvErrorException Provides all information needed to initialize the labels expander of the properties region control.- Parameters:
srvCtx- The context of the related innovator server.seqSel- selected elements- Throws:
InoNetExceptionSrvErrorException
-
getPropertyRegionInitNotificationExpander
public static ARG_PropertyRegionInitPropertiesExpander getPropertyRegionInitNotificationExpander(SrvContext srvCtx, List<? extends ADM2AttrModifyAble> seqSel) throws InoNetException, SrvErrorException Provides all information needed to initialize the properties expander of the notification region control.- Parameters:
srvCtx- The context of the related innovator server.seqSel- selected elements- Throws:
InoNetExceptionSrvErrorException
-
getPropertyRegionInit
public static ARG_PropertyRegionInit getPropertyRegionInit(SrvContext srvCtx, List<? extends ADM2AttrModifyAble> seqSel) throws InoNetException, SrvErrorException Provides all information needed to initialize the properties region control.- Parameters:
srvCtx- The context of the related innovator server.seqSel- selected elements- Throws:
InoNetExceptionSrvErrorException
-
getPropertyRegionInitPictureExpander
public static ARG_PropertyRegionInitPictureExpander getPropertyRegionInitPictureExpander(SrvContext srvCtx, List<? extends ADM2AttrModifyAble> seqSel) throws InoNetException, SrvErrorException Provides all information needed to initialize the picture expander of the properties region control.- Parameters:
srvCtx- The context of the related innovator server.seqSel- selected elements- Throws:
InoNetExceptionSrvErrorException
-
getPropertyRegionInitPropertiesExpander
public static ARG_PropertyRegionInitPropertiesExpander getPropertyRegionInitPropertiesExpander(SrvContext srvCtx, List<? extends ADM2AttrModifyAble> seqSel) throws InoNetException, SrvErrorException Provides all information needed to initialize the properties expander of the properties region control.- Parameters:
srvCtx- The context of the related innovator server.seqSel- selected elements- Throws:
InoNetExceptionSrvErrorException
-
getPropertyRegionInitSpecificationExpander
public static ARG_PropertyRegionInitPropertiesExpander getPropertyRegionInitSpecificationExpander(SrvContext srvCtx, List<? extends ADM2AttrModifyAble> seqSel) throws InoNetException, SrvErrorException Provides all information needed to initialize the specification expander of the properties region control.- Parameters:
srvCtx- The context of the related innovator server.seqSel- selected elements- Throws:
InoNetExceptionSrvErrorException
-
getPropertyRegionInitTSOptionsExpander
public static ARG_PropertyRegionInitPropertiesExpander getPropertyRegionInitTSOptionsExpander(SrvContext srvCtx, List<? extends ADM2AttrModifyAble> seqSel) throws InoNetException, SrvErrorException Provides all information needed to initialize the options expander of the properties region control.- Parameters:
srvCtx- The context of the related innovator server.seqSel- selected elements- Throws:
InoNetExceptionSrvErrorException
-
getTabElementList
public static List<ARG_TabElement> getTabElementList(SrvContext srvCtx, List<? extends ADClientAble> seqElem, boolean wantColor, String strColorLabel, boolean wantText, List<? extends MM2TypedElement> seqPropHidden) throws InoNetException, SrvErrorException Returns a list of all properties for the specified element list.- Parameters:
srvCtx- The context of the related innovator server.seqElem- list of elements (ignore invalid)wantColor- true, if colors are requestedstrColorLabel- name of the color label (optional)wantText- true, if text definitions are requestedseqPropHidden- list of hidden typed elements (ignore invalid)- Throws:
InoNetExceptionSrvErrorException
-
setToDefaultByM2TypedElement
public static void setToDefaultByM2TypedElement(SrvContext srvCtx, List<? extends ADClientAble> seqSel, MM2TypedElement ohMM2TypedElement) throws InoNetException, SrvErrorException Deletes the values for the property specified by parameter 'property' of the provided elements. If a property has no explicitly assigned value then the configured default value is supplied.- Parameters:
srvCtx- The context of the related innovator server.seqSel- List of selected elementsohMM2TypedElement- stereotype property or option- Throws:
InoNetExceptionSrvErrorException
-