public class ActiveWorkflowsListModel extends ActivityListModel<ApplicationContext,AbstractWorkflow>
ActivityListModel
stores the currently running instances of AbstractWorkflow
.Constructor and Description |
---|
ActiveWorkflowsListModel(ApplicationContext ctx) |
Modifier and Type | Method and Description |
---|---|
java.awt.Point |
checkIsRunning(AbstractWorkflow newWorkflow)
Checks whether the same workflow is running already and throws an exception just in case.
|
IconKey |
getTypeIcon() |
NlsKey |
getTypeName() |
cancel, cancelAll, getApplicationContext, hasCancellableTasks, isCurrentlyCancellable
addItem, addItem, addItems, addItems, clear, fireContentsChanged, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getAllItems, getComparator, getElementAt, getFirstItem, getItem, getItem, getItemCount, getLastItem, getModifyFlag, isModified, isNumb, isSortAscending, load, loadFrom, loadFrom, removeItem, removeItem, replaceItem, replaceOrAddItem, setComparator, setItem, setModified, setModifyFlag, setNumb, setSortAscending
add, addElement, capacity, contains, copyInto, elementAt, elements, ensureCapacity, firstElement, get, getSize, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, removeAllElements, removeElement, removeElementAt, removeRange, set, setElementAt, setSize, size, toArray, toString, trimToSize
public ActiveWorkflowsListModel(ApplicationContext ctx)
public NlsKey getTypeName()
getTypeName
in class ActivityListModel<ApplicationContext,AbstractWorkflow>
public IconKey getTypeIcon()
getTypeIcon
in class ActivityListModel<ApplicationContext,AbstractWorkflow>
public java.awt.Point checkIsRunning(AbstractWorkflow newWorkflow) throws java.lang.Exception
WorkflowMonitorDialog
is still visible
then the monitor is just closed and its current location is returned for aligning the new
monitor dialog.java.lang.Exception
Copyright © 2014 EsprIT-Systems. All Rights Reserved.