Codota Logo
MActivity.removeIncomingSequenceEdge
Code IndexAdd Codota to your IDE (free)

How to use
removeIncomingSequenceEdge
method
in
jadex.bpmn.model.MActivity

Best Java code snippets using jadex.bpmn.model.MActivity.removeIncomingSequenceEdge (Showing top 5 results out of 315)

  • Common ways to obtain MActivity
private void myMethod () {
MActivity m =
  • Codota Iconnew MActivity()
  • Codota IconList list;(MActivity) list.get(location)
  • Smart code suggestions by Codota
}
origin: net.sourceforge.jadex/jadex-model-bpmn

/**
 *  Helper method disconnecting this edge.
 */
public void disconnect()
{
  if (this.source != null)
  {
    this.source.removeOutgoingSequenceEdge(this);
  }
  
  if (this.target != null)
  {
    this.target.removeIncomingSequenceEdge(this);
  }
  
  this.source = null;
  this.target = null;
}
origin: net.sourceforge.jadex/jadex-model-bpmn

/**
 *  Helper method connecting two activities using this edge.
 *  The previous connection is removed.
 * 
 *  @param source New source of the edge.
 *  @param target New target of the edge.
 */
public void connect(MActivity source, MActivity target)
{
  if (this.source != null)
  {
    this.source.removeOutgoingSequenceEdge(this);
  }
  
  if (this.target != null)
  {
    this.target.removeIncomingSequenceEdge(this);
  }
  
  this.source = source;
  this.target = target;
  
  source.addOutgoingSequenceEdge(this);
  target.addIncomingSequenceEdge(this);
}
 
origin: org.activecomponents.jadex/jadex-editor-bpmn

  entry.getValue().getSource().removeOutgoingSequenceEdge((MSequenceEdge) entry.getValue());
if (entry.getValue().getTarget() != null)
  entry.getValue().getTarget().removeIncomingSequenceEdge((MSequenceEdge) entry.getValue());
origin: org.activecomponents.jadex/jadex-editor-bpmn

  /**
   *  Sets the target.
   */
  public void setTarget(mxICell target)
  {
    if (getBpmnElement() != null)
    {
      MSequenceEdge medge = (MSequenceEdge) getBpmnElement();
      if (getTarget() != null)
      {
        ((MActivity) ((VActivity) getTarget()).getBpmnElement()).removeIncomingSequenceEdge(medge);
        medge.setTarget(null);
      }
      
      if (target != null)
      {
        MActivity mtarget = (MActivity) ((VActivity) target).getBpmnElement();
        mtarget.addIncomingSequenceEdge(medge);
        
        medge.setTarget(mtarget);
      }
    }
    super.setTarget(target);
  }
}
origin: org.activecomponents.jadex/jadex-editor-bpmn

medge.getTarget().removeIncomingSequenceEdge(medge);
modelcontainer.setDirty(true);
jadex.bpmn.modelMActivityremoveIncomingSequenceEdge

Javadoc

Remove an incoming edge.

Popular methods of MActivity

  • getActivityType
    Get the activity type.
  • getId
  • getName
  • <init>
  • addIncomingMessagingEdge
    Add an incoming message edge.
  • addIncomingSequenceEdge
    Add an incoming edge.
  • addOutgoingMessagingEdge
    Add an outgoing message edge.
  • addOutgoingSequenceEdge
    Add an outgoing edge.
  • addParameter
    Add a parameter.
  • getClazz
    Get the class.
  • getEventHandlers
    Get the event handlers.
  • getIncomingSequenceEdges
    Get the incoming edges.
  • getEventHandlers,
  • getIncomingSequenceEdges,
  • getLane,
  • getOutgoingSequenceEdges,
  • getParameters,
  • getProperties,
  • getPropertyValue,
  • isEventHandler,
  • isThrowing,
  • setActivityType

Popular in Java

  • Making http post requests using okhttp
  • setRequestProperty (URLConnection)
  • getExternalFilesDir (Context)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • JPanel (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now