com.camunda.toolkit.jbpm.swing.actions
Class SubmitUserWizardAction
java.lang.Object
javax.swing.AbstractAction
com.camunda.scruffy.actions.GuiAction
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
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 |
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 |
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)
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.