Tabnine Logo
MActivity.removeOutgoingSequenceEdge
Code IndexAdd Tabnine to your IDE (free)

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

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

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 source.
 */
public void setSource(mxICell source)
{
  if (getBpmnElement() != null)
  {
    MSequenceEdge medge = (MSequenceEdge) getBpmnElement();
    if (getSource() != null)
    {
      ((MActivity) ((VActivity) getSource()).getBpmnElement()).removeOutgoingSequenceEdge(medge);
      medge.setSource(null);
    }
    
    if (source != null)
    {
      MActivity msource = (MActivity) ((VActivity) source).getBpmnElement();
      msource.addOutgoingSequenceEdge(medge);
    
      medge.setSource(msource);
    }
  }
  super.setSource(source);
}

origin: org.activecomponents.jadex/jadex-editor-bpmn

medge.getSource().removeOutgoingSequenceEdge(medge);
medge.getTarget().removeIncomingSequenceEdge(medge);
modelcontainer.setDirty(true);
jadex.bpmn.modelMActivityremoveOutgoingSequenceEdge

Javadoc

Remove an outgoing 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

  • Parsing JSON documents to java classes using gson
  • setRequestProperty (URLConnection)
  • compareTo (BigDecimal)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now