Class SHelper


  • public class SHelper
    extends java.lang.Object
    Static helper methods.
    • Constructor Summary

      Constructors 
      Constructor Description
      SHelper()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<VElement> copy​(BpmnGraph graph, MBpmnModel model, java.lang.Object[] incells)
      Copies a set of selected elements.
      protected static java.util.List<VElement> generateVisualClones​(BpmnGraph graph, BiHashMap<java.lang.String,​java.lang.String> idmap, java.util.Map<java.lang.String,​VElement> oldvmap, java.util.List<MIdElement> mclones, java.util.Map<java.lang.String,​VElement> vclones, boolean istoplevelelement)  
      static java.util.List<java.lang.String> getParameterNames​(java.lang.reflect.Method m)
      Get parameter names via asm reader.
      static java.lang.String getReturnValueName​(java.lang.reflect.Method m)
      Get return value name.
      static boolean isEventSubProcess​(java.lang.Object obj)
      Tests if an object is a event subprocess.
      static boolean isVisualEvent​(java.lang.Object obj)
      Checks if an object is a visual event.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SHelper

        public SHelper()
    • Method Detail

      • getParameterNames

        public static java.util.List<java.lang.String> getParameterNames​(java.lang.reflect.Method m)
        Get parameter names via asm reader.
        Parameters:
        m - The method.
        Returns:
        The list of parameter names or null
      • getReturnValueName

        public static java.lang.String getReturnValueName​(java.lang.reflect.Method m)
        Get return value name.
        Parameters:
        m - The method.
      • isEventSubProcess

        public static final boolean isEventSubProcess​(java.lang.Object obj)
        Tests if an object is a event subprocess.
      • copy

        public static final java.util.List<VElement> copy​(BpmnGraph graph,
                                                          MBpmnModel model,
                                                          java.lang.Object[] incells)
        Copies a set of selected elements.
        Parameters:
        graph - The graph.
        model - The BPMN model.
        incells - The cells to be copied.
      • generateVisualClones

        protected static final java.util.List<VElement> generateVisualClones​(BpmnGraph graph,
                                                                             BiHashMap<java.lang.String,​java.lang.String> idmap,
                                                                             java.util.Map<java.lang.String,​VElement> oldvmap,
                                                                             java.util.List<MIdElement> mclones,
                                                                             java.util.Map<java.lang.String,​VElement> vclones,
                                                                             boolean istoplevelelement)
        Parameters:
        graph -
        mclones -
        vclones -
        Returns:
      • isVisualEvent

        public static final boolean isVisualEvent​(java.lang.Object obj)
        Checks if an object is a visual event.