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

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

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

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.removeOutgoingMessagingEdge(this);
  }
  
  if (this.target != null)
  {
    this.target.removeIncomingMessagingEdge(this);
  }
  
  this.source = source;
  this.target = target;
  
  source.addOutgoingMessagingEdge(this);
  target.addIncomingMessagingEdge(this);
}
 
origin: net.sourceforge.jadex/jadex-model-bpmn

edge.setTarget(tgt);
src.addOutgoingMessagingEdge(edge);
tgt.addIncomingMessagingEdge(edge);
origin: org.activecomponents.jadex/jadex-editor-bpmn

  throw new RuntimeException("Could not find message: "+id);
act.addOutgoingMessagingEdge(msg);
msg.setTarget(act);
origin: net.sourceforge.jadex/jadex-kernel-bpmn

  throw new RuntimeException("Could not find message: "+id);
act.addOutgoingMessagingEdge(msg);
msg.setTarget(act);
origin: org.activecomponents.jadex/jadex-editor-bpmn

/**
 *  Sets the source.
 */
public void setSource(mxICell source)
{
  MMessagingEdge medge = (MMessagingEdge) getBpmnElement();
  if (medge != null)
  {
    if (getSource() != null)
    {
      VActivity vsrc = (VActivity) getSource();
      ((MActivity) vsrc.getBpmnElement()).removeOutgoingMessagingEdge(medge);
    }
    this.source = source;
    if (source != null)
    {
      VActivity vsrc = (VActivity) getSource();
      ((MActivity) vsrc.getBpmnElement()).addOutgoingMessagingEdge(medge);
      medge.setSource((MActivity) vsrc.getBpmnElement());
    }
  }
  else
  {
    this.source = source;
  }
  ((BpmnGraph) graph).refreshCellView(this);
}

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

medge.setSource(sact);
medge.setTarget(tact);
sact.addOutgoingMessagingEdge(medge);
tact.addIncomingMessagingEdge(medge);
jadex.bpmn.modelMActivityaddOutgoingMessagingEdge

Javadoc

Add an outgoing message edge.

Popular methods of MActivity

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

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setRequestProperty (URLConnection)
  • putExtra (Intent)
  • getContentResolver (Context)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • String (java.lang)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Option (scala)
  • Best IntelliJ plugins
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