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

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

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

origin: net.sourceforge.jadex/jadex-model-bpmn

/**
 *  Add an activity.
 *  @param activity The activity.
 */
public void addActivity(MActivity activity)
{
  if(activities==null)
    activities = new ArrayList();
  
  if(activities.contains(activity))
  {
    Thread.dumpStack();
    System.out.println("Duplicate Item:" +activity);
  }
  
  activities.add(activity);
  // Todo: Use post processor!?
  activity.setLane(this);
}
 
origin: org.activecomponents.jadex/jadex-editor-bpmn

  /**
   *  Establish element connections.
   */
  public Object postProcess(IContext context, Object object)
  {
    super.postProcess(context, object);
    
    // Resolve activities
    MLane    lane    = (MLane)object;
    String    actdesc    = lane.getActivitiesDescription();
    if(actdesc!=null)
    {
      MBpmnModel dia = (MBpmnModel)context.getRootObject();
      Map    activities    = dia.getAllActivities();
      
      StringTokenizer stok = new StringTokenizer(actdesc);
      while(stok.hasMoreElements())
      {
        String actid = stok.nextToken(); 
        MActivity activity = (MActivity)activities.get(actid);
        lane.addActivity(activity);
        activity.setLane(lane);
      }
    }
    
    return null;
  }
}
origin: net.sourceforge.jadex/jadex-kernel-bpmn

  /**
   *  Establish element connections.
   */
  public Object postProcess(IContext context, Object object)
  {
    super.postProcess(context, object);
    
    // Resolve activities
    MLane    lane    = (MLane)object;
    String    actdesc    = lane.getActivitiesDescription();
    if(actdesc!=null)
    {
      MBpmnModel dia = (MBpmnModel)context.getRootObject();
      Map    activities    = dia.getAllActivities();
      
      StringTokenizer stok = new StringTokenizer(actdesc);
      while(stok.hasMoreElements())
      {
        String actid = stok.nextToken(); 
        MActivity activity = (MActivity)activities.get(actid);
        lane.addActivity(activity);
        activity.setLane(lane);
      }
    }
    
    return null;
  }
}
origin: net.sourceforge.jadex/jadex-model-bpmn

act.setLane(lane);
Map<String, String> ehpm = (Map<String, String>) buffer.get("eventhandlerparentmap");
((MActivity) emap.get(ehpm.get(act.getId()))).addEventHandler(act);
  act.setLane(lane);
  sps.peek().addActivity(act);
  Map<String, MSubProcess> spem = (Map<String, MSubProcess>) buffer.get("subprocesselementmap");
    act.setLane(lane);
origin: org.activecomponents.jadex/jadex-editor-bpmn

mactivity.setLane(null);
mactivity.setPool(null);
mactivity.setLane(null);
mactivity.setPool(null);
mactivity.setLane(null);
mactivity.setPool(null);
  mparent.addEventHandler(mactivity);
mactivity.setPool(mparent.getPool());
mactivity.setLane(mactivity.getLane());
if(mlane.getActivities() == null || !mlane.getActivities().contains(mactivity))
  mlane.addActivity(mactivity);
mactivity.setLane((MLane) ((VLane) parent).getBpmnElement());
mactivity.setPool((MPool) ((VLane) parent).getPool().getBpmnElement());
  msp.addActivity(mactivity);
mactivity.setPool(msp.getPool());
mactivity.setLane(msp.getLane());
jadex.bpmn.modelMActivitysetLane

Javadoc

Set the lane of the activity.

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
  • runOnUiThread (Activity)
  • startActivity (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Menu (java.awt)
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Best plugins for Eclipse
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