Tabnine Logo
MActivity.removeIncomingSequenceEdge
Code IndexAdd Tabnine 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)

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 requests using okhttp
  • getContentResolver (Context)
  • onRequestPermissionsResult (Fragment)
  • startActivity (Activity)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • JTable (javax.swing)
  • Top plugins for Android Studio
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