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

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

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

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

/**
 *  Create a string representation of this activity.
 *  @return A string representation of this activity.
 */
public String	toString()
{        
  StringBuffer buf = new StringBuffer();
  buf.append(SReflect.getInnerClassName(this.getClass()));
  buf.append("(name=");
  buf.append(getName());
  buf.append(", activityType=");
  buf.append(getActivityType());
  buf.append(")");
  return buf.toString();
}
origin: net.sourceforge.jadex/jadex-model-bpmn

/**
 *  Get a string to identify this activity in a tool such as the debugger.
 *  @return A unique but nicely readable name.
 */
public String getBreakpointId()
{
  String    name    = getName();
  if(name==null)
    name    = getActivityType()+"("+getId()+")";
  return name;
}
origin: org.activecomponents.jadex/jadex-tools-bpmn

      public Object getValueAt(int row, int column)
      {
        Object ret = null; 
        if(column==1)
        {
          MActivity act = (MActivity)activities.get(row);
          ret = act.getName();
          if(ret!=null)
          {
//                        ret = ret + " (type = " + act.getActivityType() + ", id = " + act.getId() + ")"; 
            ret = ret + " (type = " + act.getActivityType() + ")"; 
          }
          else
          {
            ret = act.getActivityType() + " (id = " + act.getId() + ")"; 
          }
          
        }
        return ret;
      }
      public boolean isCellEditable(int row, int column)
origin: net.sourceforge.jadex/jadex-tools-bpmn

      public Object getValueAt(int row, int column)
      {
        Object ret = null; 
        if(column==1)
        {
          MActivity act = (MActivity)activities.get(row);
          ret = act.getName();
          if(ret!=null)
          {
//                        ret = ret + " (type = " + act.getActivityType() + ", id = " + act.getId() + ")"; 
            ret = ret + " (type = " + act.getActivityType() + ")"; 
          }
          else
          {
            ret = act.getActivityType() + " (id = " + act.getId() + ")"; 
          }
          
        }
        return ret;
      }
      public boolean isCellEditable(int row, int column)
origin: net.sourceforge.jadex/jadex-kernel-bpmn

  message.add(new JLabel("Please enter values for task "+task.getName()),
    new GridBagConstraints(0, 0, GridBagConstraints.REMAINDER, 1, 0, 0, GridBagConstraints.WEST, GridBagConstraints.BOTH, insets, 0, 0));
  message = new JLabel("Please perform task "+task.getName());
  pane    = new JOptionPane(message, JOptionPane.INFORMATION_MESSAGE, JOptionPane.OK_CANCEL_OPTION);
  pane.setValue(JOptionPane.UNINITIALIZED_VALUE);
dialog = new JDialog((JFrame)null, task.getName());
dialog.getContentPane().setLayout(new BorderLayout());
dialog.getContentPane().add(pane, BorderLayout.CENTER);
origin: net.sourceforge.jadex/jadex-kernel-bpmn

  /**
   *  Create an activity event (start, end).
   */
  public IMonitoringEvent createActivityEvent(String type, ProcessThread thread, MActivity activity)
  {
//        return new ComponentChangeEvent(type, TYPE_ACTIVITY, activity.getName(), 
//            thread.getId(), getComponentIdentifier(), getComponentDescription().getCreationTime(), createProcessThreadInfo(thread));
  
    MonitoringEvent event = new MonitoringEvent(getComponentIdentifier(), getComponentDescription().getCreationTime(), type+"."+TYPE_ACTIVITY, System.currentTimeMillis(), PublishEventLevel.FINE);
    event.setProperty("thread_id", thread.getId());
    event.setProperty("activity", activity.getName());
    event.setProperty("details", createProcessThreadInfo(thread));
    return event;
  }
   
origin: net.sourceforge.jadex/jadex-kernel-bpmn

&& info.getName().equals(act.getName()))
  if(MBpmnModel.EVENT_INTERMEDIATE_SIGNAL.equals(target.getActivityType()))
    events.put(target.getName(), target);
&& act.getName().startsWith(info.getName()+"."))
events.put(act.getName().substring(info.getName().length()+1), act);
origin: net.sourceforge.jadex/jadex-model-bpmn

if (activity.getName() != null && activity.getName().length() > 0)
  out.print(escapeString(activity.getName()));
  out.print("\"");
origin: net.sourceforge.jadex/jadex-kernel-bpmn

method    = context.getActivity().getName();
origin: net.sourceforge.jadex/jadex-kernel-bpmn

method    = context.getActivity().getName();
jadex.bpmn.modelMActivitygetName

Popular methods of MActivity

  • getActivityType
    Get the activity type.
  • getId
  • <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.
  • getLane
    Get the lane of the activity.
  • 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