wt.clients.workflow.definer
Class WfProcessTemplateEditor

java.lang.Object
  extended bywt.clients.workflow.definer.WfNodeTemplateEditor
      extended bywt.clients.workflow.definer.WfTemplateObjectEditor
          extended bywt.clients.workflow.definer.WfContainerTemplateEditor
              extended bywt.clients.workflow.definer.WfProcessTemplateEditor

public class WfProcessTemplateEditor
extends WfContainerTemplateEditor


Nested Class Summary
 
Nested classes inherited from class wt.clients.workflow.definer.WfNodeTemplateEditor
WfNodeTemplateEditor.RefreshThread
 
Field Summary
(package private) static int counter
           
static String PROCESS
           
private  WfNodeTemplatePanel properties
           
private static Vector subtypes
           
private static String versionID
           
 
Fields inherited from class wt.clients.workflow.definer.WfContainerTemplateEditor
startTemplate
 
Fields inherited from class wt.clients.workflow.definer.WfTemplateObjectEditor
INSTRUCTIONS, PRIMARY_BUSINESS_OBJECT, processLink, transitionExpressions
 
Fields inherited from class wt.clients.workflow.definer.WfNodeTemplateEditor
batch, component, container, context_ref, createdOne, editable, graphNode, icon, model, name, node, propertyChange, refreshType, routerExpression, subtype, transaction
 
Constructor Summary
WfProcessTemplateEditor()
           
WfProcessTemplateEditor(WTContainerRef contRef)
           
 
Method Summary
 Component getComponent()
           
 WTContainerRef getContainerRef()
           
protected  WfNodeTemplatePanel getPropertiesComponent()
           
static String getSubtypeCategory(String subtype)
           
static String getSubtypeHelp(String subtype)
           
static String getSubtypeIconName(String subtype)
           
static String getSubtypeName(String subtype)
           
static Vector getSubtypes()
           
static Class getWfTemplateClass()
           
protected  WfProcessTemplate newWfProcessTemplate()
           
protected  WfNodeTemplatePanel newWfProcessTemplateProperties()
           
 WfNodeTemplate newWfTemplate()
           
 WfNodeTemplate newWfTemplate(boolean create_start)
           
 void pasteCopyMap(Hashtable copy_map, WfContainerTemplateEditor container)
           
 void populateWfTemplate(WfNodeTemplate node)
           
 void saveWfTemplate()
          Saves the WfNodeTemplate this Editor references.
 void setContainerRef(WTContainerRef contRef)
           
 void updateVariableMappings()
          Updates the variable mappings in any process links to this process so that variable that no longer exist are removed from the mappings.
 
Methods inherited from class wt.clients.workflow.definer.WfContainerTemplateEditor
getStartWfTemplate, setStartWfTemplate
 
Methods inherited from class wt.clients.workflow.definer.WfTemplateObjectEditor
createMappings, deleteWfTemplate, getCategory, getContextSignature, getCopyMap, getProcessStepTemplateLink, getTransitionExpression, newWfTemplate, populateWfTemplate, setProcessStepTemplateLink, setTransitionExpression, updateMappings
 
Methods inherited from class wt.clients.workflow.definer.WfNodeTemplateEditor
addPropertyChangeListener, computeContainerRef, getBatchContainer, getContainer, getGraphModel, getGraphNode, getIconName, getName, getPosition, getRefreshType, getRouterExpression, getSubtype, getSuccessorLinks, getTransactionContainer, getWfTemplate, hasUnsavedChanges, isEditable, refreshAssertionTarget, removePropertyChangeListener, replaceWfTemplate, setBatchContainer, setComponent, setEditable, setGraphModel, setGraphNode, setIconName, setName, setRouterExpression, setSubtype, setTransactionContainer, setWfTemplate, transactionSave
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionID

private static final String versionID
See Also:
Constant Field Values

PROCESS

public static final String PROCESS
See Also:
Constant Field Values

counter

static int counter

subtypes

private static Vector subtypes

properties

private WfNodeTemplatePanel properties
Constructor Detail

WfProcessTemplateEditor

public WfProcessTemplateEditor()

WfProcessTemplateEditor

public WfProcessTemplateEditor(WTContainerRef contRef)
Method Detail

setContainerRef

public void setContainerRef(WTContainerRef contRef)
Overrides:
setContainerRef in class WfNodeTemplateEditor

getContainerRef

public WTContainerRef getContainerRef()
Overrides:
getContainerRef in class WfNodeTemplateEditor

getWfTemplateClass

public static Class getWfTemplateClass()

getSubtypes

public static Vector getSubtypes()

getSubtypeName

public static String getSubtypeName(String subtype)

getSubtypeIconName

public static String getSubtypeIconName(String subtype)

getSubtypeCategory

public static String getSubtypeCategory(String subtype)

getSubtypeHelp

public static String getSubtypeHelp(String subtype)

getComponent

public Component getComponent()
Overrides:
getComponent in class WfNodeTemplateEditor

newWfTemplate

public WfNodeTemplate newWfTemplate()
Overrides:
newWfTemplate in class WfContainerTemplateEditor

newWfTemplate

public WfNodeTemplate newWfTemplate(boolean create_start)
Overrides:
newWfTemplate in class WfContainerTemplateEditor

populateWfTemplate

public void populateWfTemplate(WfNodeTemplate node)
Overrides:
populateWfTemplate in class WfTemplateObjectEditor

saveWfTemplate

public void saveWfTemplate()
                    throws WTException
Saves the WfNodeTemplate this Editor references.

Overrides:
saveWfTemplate in class WfTemplateObjectEditor
Throws:
WTException

updateVariableMappings

public void updateVariableMappings()
Updates the variable mappings in any process links to this process so that variable that no longer exist are removed from the mappings.


getPropertiesComponent

protected WfNodeTemplatePanel getPropertiesComponent()
Overrides:
getPropertiesComponent in class WfContainerTemplateEditor

newWfProcessTemplate

protected WfProcessTemplate newWfProcessTemplate()
                                          throws WTException
Throws:
WTException

newWfProcessTemplateProperties

protected WfNodeTemplatePanel newWfProcessTemplateProperties()

pasteCopyMap

public void pasteCopyMap(Hashtable copy_map,
                         WfContainerTemplateEditor container)
                  throws WTException
Overrides:
pasteCopyMap in class WfTemplateObjectEditor
Throws:
WTException