Class VActivity

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.Map<java.lang.String,​VInParameter> inports
      Map to parameter input ports.
      java.util.Set<java.lang.String> internalparameters
      Set of internal parameters
      java.util.Map<java.lang.String,​VOutParameter> outports
      Map to parameter input ports.
      • Fields inherited from class com.mxgraph.model.mxCell

        children, collapsed, connectable, edge, edges, geometry, id, parent, source, style, target, value, vertex, visible
    • Constructor Summary

      Constructors 
      Constructor Description
      VActivity​(com.mxgraph.view.mxGraph graph)
      Creates a new activity.
    • Field Detail

      • inports

        public java.util.Map<java.lang.String,​VInParameter> inports
        Map to parameter input ports.
      • outports

        public java.util.Map<java.lang.String,​VOutParameter> outports
        Map to parameter input ports.
      • internalparameters

        public java.util.Set<java.lang.String> internalparameters
        Set of internal parameters
    • Constructor Detail

      • VActivity

        public VActivity​(com.mxgraph.view.mxGraph graph)
        Creates a new activity.
        Parameters:
        graph - The graph where this element is used.
    • Method Detail

      • getStyle

        public java.lang.String getStyle()
        Gets the style.
        Specified by:
        getStyle in interface com.mxgraph.model.mxICell
        Overrides:
        getStyle in class com.mxgraph.model.mxCell
      • getMActivity

        public MActivity getMActivity()
        Returns the MActivity.
        Returns:
        The MActivity.
      • setParent

        public void setParent​(com.mxgraph.model.mxICell parent)
        Sets the parent.
        Specified by:
        setParent in interface com.mxgraph.model.mxICell
        Overrides:
        setParent in class com.mxgraph.model.mxCell
      • getInputParameterPort

        public VInParameter getInputParameterPort​(java.lang.String paramname)
        Gets the port for an input parameter.
        Parameters:
        paramname - The parameter name.
        Returns:
        The port.
      • getOutputParameterPort

        public VOutParameter getOutputParameterPort​(java.lang.String paramname)
        Gets the port for an output parameter.
        Parameters:
        paramname - The parameter name.
        Returns:
        The port.
      • setGeometry

        public void setGeometry​(com.mxgraph.model.mxGeometry geometry)
        Set geometry.
        Specified by:
        setGeometry in interface com.mxgraph.model.mxICell
        Overrides:
        setGeometry in class com.mxgraph.model.mxCell
      • setBpmnElement

        public void setBpmnElement​(MIdElement bpmnelement)
        Set BPMN element.
        Overrides:
        setBpmnElement in class VNamedNode
        Parameters:
        bpmnelement - The BPMN element.
      • addInternalParameter

        public void addInternalParameter​(java.lang.String paramname)
        Adds a parameter to the internal parameter set.
        Parameters:
        paramname - The parameter name.
      • removeInternalParameter

        public void removeInternalParameter​(java.lang.String paramname)
        Removes a parameter from the internal parameter set.
        Parameters:
        paramname - The parameter name.
      • isInternalParameters

        public boolean isInternalParameters​(java.lang.String paramname)
        Returns if a parameter is in the internal parameter set.
        Returns:
        True, if contained.
      • setInternalParameters

        public void setInternalParameters​(java.util.Collection<java.lang.String> internalparameters)
        Sets the internal parameter set.
      • getInternalParameters

        public java.util.Set<java.lang.String> getInternalParameters()
        Gets the internal parameter set.
      • refreshParameterObjectGeometry

        public void refreshParameterObjectGeometry()
        Refresh the parameter geometry.
      • addedParameter

        public void addedParameter​(MParameter param)
        Called when a parameter is added.
        Parameters:
        param - The parameter.
      • removedParameter

        public void removedParameter​(java.util.Set<MParameter> params)
        Called when a parameters are removed.
        Parameters:
        param - The parameters.
      • refreshParameter

        public void refreshParameter​(MParameter rparam)
        Called when a parameters need to be refreshed.
        Parameters:
        rparam - The parameter.
      • createParameterObjects

        protected void createParameterObjects()