wt.clients.workflow.definer
Class WfBlockTemplateEditor

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.WfBlockTemplateEditor

public class WfBlockTemplateEditor
extends WfContainerTemplateEditor


Nested Class Summary
 
Nested classes inherited from class wt.clients.workflow.definer.WfNodeTemplateEditor
WfNodeTemplateEditor.RefreshThread
 
Field Summary
static String BLOCK
           
private  WfExpression blockExpression
           
(package private) static int counter
           
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
WfBlockTemplateEditor()
           
 
Method Summary
 WfExpression getBlockExpression(boolean create_new)
           
(package private)  WfTemplateCategory getCategory()
           
 Component getComponent()
           
(package private)  ProcessDataInfo getContextSignature()
           
 Hashtable getCopyMap(DefinerGraphNode graph_node)
           
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  WfBlockTemplate newWfBlockTemplate()
           
protected  WfNodeTemplatePanel newWfBlockTemplateProperties()
           
 WfNodeTemplate newWfTemplate()
           
 WfNodeTemplate newWfTemplate(WfContainerTemplateEditor container)
           
 void pasteCopyMap(Hashtable copy_map, WfContainerTemplateEditor container)
           
 void populateWfTemplate(WfNodeTemplate node)
           
 void saveWfTemplate()
          Saves the WfNodeTemplate this Editor references.
 void setBlockExpression(WfExpression block_expression)
           
 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, newWfTemplate, setStartWfTemplate
 
Methods inherited from class wt.clients.workflow.definer.WfTemplateObjectEditor
createMappings, deleteWfTemplate, getProcessStepTemplateLink, getTransitionExpression, populateWfTemplate, setProcessStepTemplateLink, setTransitionExpression, updateMappings
 
Methods inherited from class wt.clients.workflow.definer.WfNodeTemplateEditor
addPropertyChangeListener, computeContainerRef, getBatchContainer, getContainer, getContainerRef, getGraphModel, getGraphNode, getIconName, getName, getPosition, getRefreshType, getRouterExpression, getSubtype, getSuccessorLinks, getTransactionContainer, getWfTemplate, hasUnsavedChanges, isEditable, refreshAssertionTarget, removePropertyChangeListener, replaceWfTemplate, setBatchContainer, setComponent, setContainerRef, 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

BLOCK

public static final String BLOCK
See Also:
Constant Field Values

counter

static int counter

subtypes

private static Vector subtypes

properties

private WfNodeTemplatePanel properties

blockExpression

private WfExpression blockExpression
Constructor Detail

WfBlockTemplateEditor

public WfBlockTemplateEditor()
Method Detail

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

getPropertiesComponent

protected WfNodeTemplatePanel getPropertiesComponent()
Overrides:
getPropertiesComponent in class WfContainerTemplateEditor

newWfBlockTemplateProperties

protected WfNodeTemplatePanel newWfBlockTemplateProperties()

newWfTemplate

public WfNodeTemplate newWfTemplate()
Overrides:
newWfTemplate in class WfContainerTemplateEditor

newWfTemplate

public WfNodeTemplate newWfTemplate(WfContainerTemplateEditor container)
Overrides:
newWfTemplate in class WfTemplateObjectEditor

getContextSignature

ProcessDataInfo getContextSignature()
Overrides:
getContextSignature in class WfTemplateObjectEditor

getCategory

WfTemplateCategory getCategory()
Overrides:
getCategory in class WfTemplateObjectEditor

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.


newWfBlockTemplate

protected WfBlockTemplate newWfBlockTemplate()
                                      throws WTException
Throws:
WTException

getBlockExpression

public WfExpression getBlockExpression(boolean create_new)
                                throws WTException
Throws:
WTException

setBlockExpression

public void setBlockExpression(WfExpression block_expression)

getCopyMap

public Hashtable getCopyMap(DefinerGraphNode graph_node)
                     throws WTException
Overrides:
getCopyMap in class WfTemplateObjectEditor
Throws:
WTException

pasteCopyMap

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