Class PRDiaNodeHelper
java.lang.Object
de.mid.innovator.srv2api.icw2pres.PRDiaNodeHelper
This is a utility class for PRDiaNode that provides static methods for creation or other purposes.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcollapse(SrvContext srvCtx, List<? extends PRDiaNode> sel) Collapses a node which is currently expanded.static voidexpand(SrvContext srvCtx, List<? extends PRDiaNode> sel) Expands a node which is expandable but currently collapsed.
-
Method Details
-
collapse
public static void collapse(SrvContext srvCtx, List<? extends PRDiaNode> sel) throws InoNetException, SrvErrorException Collapses a node which is currently expanded. The command may result in complex model modifications removing the graphical representation of the content displayed.- Parameters:
srvCtx- The context of the related innovator server.sel- all objects that will be modified.- Throws:
InoNetExceptionSrvErrorException
-
expand
public static void expand(SrvContext srvCtx, List<? extends PRDiaNode> sel) throws InoNetException, SrvErrorException Expands a node which is expandable but currently collapsed. The command may result in complex model modifications building up a graphical representation of the content to be displayed in the expanded node.- Parameters:
srvCtx- The context of the related innovator server.sel- all objects that will be modified.- Throws:
InoNetExceptionSrvErrorException
-