wt.clients.workflow.definer
Class WfNodeTemplateEditor
java.lang.Object
wt.clients.workflow.definer.WfNodeTemplateEditor
- Direct Known Subclasses:
- WfConnectorTemplateEditor, WfTemplateObjectEditor
- public abstract class WfNodeTemplateEditor
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
versionID
private static final String versionID
- See Also:
- Constant Field Values
subtype
String subtype
icon
String icon
name
String name
component
Component component
propertyChange
PropertyChangeSupport propertyChange
container
WfContainerTemplateEditor container
node
WfNodeTemplate node
routerExpression
WfExpression routerExpression
graphNode
GraphNode graphNode
model
GraphModel model
transaction
TransactionContainer transaction
batch
BatchContainer batch
refreshType
int refreshType
editable
boolean editable
context_ref
WTContainerRef context_ref
- allows the container to be obtained in all the getWfTemplate() methods.
createdOne
boolean createdOne
WfNodeTemplateEditor
public WfNodeTemplateEditor()
getContainerRef
public WTContainerRef getContainerRef()
setContainerRef
public void setContainerRef(WTContainerRef contRef)
computeContainerRef
public WTContainerRef computeContainerRef()
throws WTException
- Encapsulates the computation of the container ref for the assorted
scenarios.
- Throws:
WTException
setSubtype
public void setSubtype(String subtype)
getSubtype
public String getSubtype()
getIconName
public String getIconName()
setIconName
public void setIconName(String icon)
getName
public String getName()
setName
public void setName(String name)
getPosition
public Point getPosition()
- Returns the position of this node template.
isEditable
public boolean isEditable()
setEditable
public void setEditable(boolean editable)
newWfTemplate
public WfNodeTemplate newWfTemplate()
newWfTemplate
public WfNodeTemplate newWfTemplate(WfContainerTemplateEditor container)
setWfTemplate
public void setWfTemplate(WfNodeTemplate node)
populateWfTemplate
public void populateWfTemplate(WfNodeTemplate node)
populateWfTemplate
public void populateWfTemplate(WfNodeTemplate node,
WfContainerTemplateEditor container)
getWfTemplate
public WfNodeTemplate getWfTemplate()
replaceWfTemplate
public void replaceWfTemplate()
saveWfTemplate
public void saveWfTemplate()
throws WTException
- Saves the WfNodeTemplate this Editor references.
- Throws:
WTException
hasUnsavedChanges
boolean hasUnsavedChanges()
transactionSave
void transactionSave()
throws WTException
- Throws:
WTException
refreshAssertionTarget
public void refreshAssertionTarget(Assertion assertion)
deleteWfTemplate
public void deleteWfTemplate()
- Deletes the WfNodeTemplate this Editor references.
getContainer
public WfContainerTemplateEditor getContainer()
- Returns the parent template.
setTransactionContainer
public void setTransactionContainer(TransactionContainer transaction)
getTransactionContainer
public TransactionContainer getTransactionContainer()
setBatchContainer
public void setBatchContainer(BatchContainer batch)
getBatchContainer
public BatchContainer getBatchContainer()
setComponent
public void setComponent(Component component)
getComponent
public Component getComponent()
setGraphModel
void setGraphModel(GraphModel model)
getGraphModel
GraphModel getGraphModel()
setGraphNode
void setGraphNode(GraphNode graph_node)
getGraphNode
GraphNode getGraphNode()
setRouterExpression
void setRouterExpression(WfExpression router_expression)
getRouterExpression
WfExpression getRouterExpression(boolean create_new)
throws WTException
- Throws:
WTException
getSuccessorLinks
Vector getSuccessorLinks()
getCopyMap
public Hashtable getCopyMap(DefinerGraphNode graph_node)
throws WTException
- Throws:
WTException
pasteCopyMap
public void pasteCopyMap(Hashtable copy_map,
WfContainerTemplateEditor container)
throws WTException
- Throws:
WTException
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
getRefreshType
public int getRefreshType()