wt.clients.workflow.definer
Class WfExternalMethodTemplateEditor

java.lang.Object
  extended bywt.clients.workflow.definer.WfNodeTemplateEditor
      extended bywt.clients.workflow.definer.WfTemplateObjectEditor
          extended bywt.clients.workflow.definer.WfExternalMethodTemplateEditor

public class WfExternalMethodTemplateEditor
extends WfTemplateObjectEditor

Editor for the WfExternalMethodTemplate object. An editor needs to be created so the Process Editor knows about WfExternalMethodTemplates. You must specify a wt.workflow.definer.editor.x= in the wt.properties file for the Process Editor to add it to the tools.


Nested Class Summary
 
Nested classes inherited from class wt.clients.workflow.definer.WfNodeTemplateEditor
WfNodeTemplateEditor.RefreshThread
 
Field Summary
static String EXTERNAL_METHOD
           
private static Vector subtypes
           
private static String versionID
           
 
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
WfExternalMethodTemplateEditor()
           
 
Method Summary
static Class getWfTemplateClass()
           
 WfNodeTemplate newWfTemplate()
          Creates a new WfExternalMethodTemplate.
 
Methods inherited from class wt.clients.workflow.definer.WfTemplateObjectEditor
createMappings, deleteWfTemplate, getCategory, getContextSignature, getCopyMap, getProcessStepTemplateLink, getTransitionExpression, newWfTemplate, pasteCopyMap, populateWfTemplate, populateWfTemplate, saveWfTemplate, setProcessStepTemplateLink, setTransitionExpression, updateMappings
 
Methods inherited from class wt.clients.workflow.definer.WfNodeTemplateEditor
addPropertyChangeListener, computeContainerRef, getBatchContainer, getComponent, 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

EXTERNAL_METHOD

public static final String EXTERNAL_METHOD
See Also:
Constant Field Values

subtypes

private static Vector subtypes
Constructor Detail

WfExternalMethodTemplateEditor

public WfExternalMethodTemplateEditor()
Method Detail

getWfTemplateClass

public static Class getWfTemplateClass()
Returns:
The Class this editor support. Returns WfExternalMethodTemplate.class. This method must be implemented so the Process Editor know what Editor to create for the WfExternalMethodTemplate class.

newWfTemplate

public WfNodeTemplate newWfTemplate()
Creates a new WfExternalMethodTemplate. This method must be implemented so the Process Editor can create the correct template for this editor. You should set the name of the WfExternalMethodTemplate and set the subtype of the Editor in this method. After the new template is created setWfTemplate(template) should be called to set the WfTemplate of the Editor. Finally, you should call super to add the template to the batch container so it will get saved.

Overrides:
newWfTemplate in class WfTemplateObjectEditor
Returns:
The new WfExternalMethodTemplate which was created.