Class PRDiaNodeHelper


  • public abstract class PRDiaNodeHelper
    extends java.lang.Object
    This is a utility class for PRDiaNode that provides static methods for creation or other purposes.
    See Also:
    PRDiaNode
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void collapse​(SrvContext srvCtx, java.util.List<? extends PRDiaNode> sel)
      Collapses a node which is currently expanded.
      static void expand​(SrvContext srvCtx, java.util.List<? extends PRDiaNode> sel)
      Expands a node which is expandable but currently collapsed.
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • collapse

        public static void collapse​(SrvContext srvCtx,
                                    java.util.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:
        InoNetException
        SrvErrorException
      • expand

        public static void expand​(SrvContext srvCtx,
                                  java.util.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:
        InoNetException
        SrvErrorException