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

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

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

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

      public void actionPerformed(ActionEvent e)
      {
//				String taskname = (String) ((JComboBox)e.getSource()).getSelectedItem();
        ClassInfo taskcl = (ClassInfo)((JComboBox)e.getSource()).getSelectedItem();
        if(taskcl==null)
          return;
        
        // change task class
        getMEvent().setClazz(taskcl);
      }
    });
origin: net.sourceforge.jadex/jadex-model-bpmn

act.setClazz(new ClassInfo((String) buffer.remove("class")));
evt.setClazz(new ClassInfo((String) buffer.remove("class")));
origin: org.activecomponents.jadex/jadex-editor-bpmn

act.setClazz(new ClassInfo(proptext));
          act.setClazz(new ClassInfo(value));
origin: net.sourceforge.jadex/jadex-kernel-bpmn

act.setClazz(new ClassInfo(proptext));
          act.setClazz(new ClassInfo(clazz));
origin: org.activecomponents.jadex/jadex-editor-bpmn

mactivity.setClazz(new ClassInfo(""));
mactivity.setClazz(new ClassInfo(""));
origin: org.activecomponents.jadex/jadex-editor-bpmn

getBpmnTask().setClazz(taskcl);
origin: net.sourceforge.jadex/jadex-kernel-bpmn

        public void run()
        {
          // To schedule a step an implicit activity is created.
          // In order to put the step parameter value it is necessary
          // to have an edge with a mapping. Otherwise the parameter
          // value with be deleted in process thread updateParametersBeforeStep().
          
          MActivity act = new MActivity();
          act.setName("External Step Activity: "+(cnt++));
          act.setClazz(new ClassInfo(ExecuteStepTask.class));
          act.addParameter(new MParameter(MParameter.DIRECTION_IN, new ClassInfo(Object[].class), "step", null));
          act.setActivityType(MBpmnModel.TASK);
          MSequenceEdge edge = new MSequenceEdge();
          edge.setTarget(act);
          UnparsedExpression exp = new UnparsedExpression(null, (Class<?>) null, "step", null);
          SJavaParser.parseExpression(exp, null, null);
//                    edge.addParameterMapping("step", SJavaParser.parseExpression("step", null, null), null);
          edge.addParameterMapping("step", exp, null);
          act.addIncomingSequenceEdge(edge);
          MPool pl = pool!=null? bpmnmodel.getPool(pool): (MPool)bpmnmodel.getPools().get(0);
          act.setPool(pl);
          ProcessThread thread = new ProcessThread(""+idcnt++, act, context, BpmnInterpreter.this);
          thread.setLastEdge(edge);
          thread.setParameterValue("step", new Object[]{step, ret});
          context.addExternalThread(thread);
        }
      });
jadex.bpmn.modelMActivitysetClazz

Javadoc

Set the class.

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

  • Running tasks concurrently on multiple threads
  • putExtra (Intent)
  • scheduleAtFixedRate (Timer)
  • setContentView (Activity)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Option (scala)
  • Top PhpStorm 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