com.camunda.toolkit.jbpm.swing
Class JbpmSwingManager

java.lang.Object
  extended by com.camunda.toolkit.jbpm.swing.JbpmSwingManager

public class JbpmSwingManager
extends java.lang.Object

The ProcessGuiManager is the central class where the application can get gui components for a special process from.

Author:
Bernd Rücker

Constructor Summary
JbpmSwingManager(org.jbpm.command.CommandService delegate, boolean useScruffy)
           
 
Method Summary
 MainPanel getVisualComponent(ProcessModel pm)
           
 MainPanel getVisualComponentForProcess(org.jbpm.graph.exe.ProcessInstance processInstance)
           
 MainPanel getVisualComponentForProcessEnd(long tokenId)
           
 MainPanel getVisualComponentForProcessStart(java.lang.String processName)
          constructs a form which is needed to start a new process
 MainPanel getVisualComponentForTask(long taskId)
           
 MainPanel getVisualComponentForTask(org.jbpm.taskmgmt.exe.TaskInstance ti)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JbpmSwingManager

public JbpmSwingManager(org.jbpm.command.CommandService delegate,
                        boolean useScruffy)
Method Detail

getVisualComponent

public MainPanel getVisualComponent(ProcessModel pm)

getVisualComponentForTask

public MainPanel getVisualComponentForTask(org.jbpm.taskmgmt.exe.TaskInstance ti)

getVisualComponentForTask

public MainPanel getVisualComponentForTask(long taskId)

getVisualComponentForProcess

public MainPanel getVisualComponentForProcess(org.jbpm.graph.exe.ProcessInstance processInstance)

getVisualComponentForProcessEnd

public MainPanel getVisualComponentForProcessEnd(long tokenId)

getVisualComponentForProcessStart

public MainPanel getVisualComponentForProcessStart(java.lang.String processName)
constructs a form which is needed to start a new process

Parameters:
processName - the name of the process
Returns:
JBopVisualComponent
Throws:
NoFormDefinedException
com.camunda.mda.error.BusinessException


Copyright © 2007 camunda GmbH. All Rights Reserved.