com.camunda.toolkit.jbpm.swing.actions
Class SubmitUserWizardAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by com.camunda.scruffy.actions.GuiAction
          extended by com.camunda.toolkit.jbpm.swing.actions.SubmitUserWizardAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class SubmitUserWizardAction
extends com.camunda.scruffy.actions.GuiAction

This Action executes everything needed to end the USer Wizard

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
SubmitUserWizardAction(ProcessModel model, org.jbpm.graph.def.Transition t)
          Creates a class without binding to a gui-element (for testing for example)
SubmitUserWizardAction(ProcessModel model, org.jbpm.graph.def.Transition t, com.camunda.scruffy.components.GuiComponent comp)
           
 
Method Summary
 void execute()
           
 void handleProcessException(java.lang.RuntimeException ex)
          handles a Exception from nested actions in a process and extracts BusinessExceptions
 boolean isConfirmedByUserDialog()
           
 boolean isEnabled()
           
 void openConfirmationComponent(java.lang.Class componentClass, ProcessModel model)
           
 void openNextTaskComponent()
           
 
Methods inherited from class com.camunda.scruffy.actions.GuiAction
actionPerformed, assertNonEmptyString, assertNotNull, copy, deRegisterDependentAction, getInputWithDialog, getWindowManager, isAsynchronous, isConfirmed, registerDependentAction, setAsynchronous, setConfirmationQuestion
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubmitUserWizardAction

public SubmitUserWizardAction(ProcessModel model,
                              org.jbpm.graph.def.Transition t)
Creates a class without binding to a gui-element (for testing for example)


SubmitUserWizardAction

public SubmitUserWizardAction(ProcessModel model,
                              org.jbpm.graph.def.Transition t,
                              com.camunda.scruffy.components.GuiComponent comp)
Method Detail

execute

public void execute()
Specified by:
execute in class com.camunda.scruffy.actions.GuiAction

handleProcessException

public void handleProcessException(java.lang.RuntimeException ex)
                            throws com.camunda.commons.error.BusinessException
handles a Exception from nested actions in a process and extracts BusinessExceptions

Parameters:
ex - RuntimeException
Throws:
com.camunda.commons.error.BusinessException

isConfirmedByUserDialog

public boolean isConfirmedByUserDialog()

openNextTaskComponent

public void openNextTaskComponent()

openConfirmationComponent

public void openConfirmationComponent(java.lang.Class componentClass,
                                      ProcessModel model)

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface javax.swing.Action
Overrides:
isEnabled in class javax.swing.AbstractAction


Copyright © 2007 camunda GmbH. All Rights Reserved.