public class Tool extends XMLCollectionElement
attrId, ID_DELIMITER, myCollectionattributes, complexStructureatts, isCollapsed, isReadOnly, isRequired, isVisible, labelName, NEWLINE, OFFSET, value| 构造器和说明 |
|---|
Tool(Tools tls,
WorkflowProcess wp)
Creates a new instance of the class.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
afterImporting()
Called after importing of XML file to set the proper Application objects
for Tool references, and proper DataField objects for ActualParameters
references, according on it's IDs read from XML.
|
Object |
clone()
Used to create exact copy of instance of this class.
|
protected void |
fillStructure()
Defines the super-class method.
|
void |
fromXML(Node node)
Supposed to be overriden by derived classes to implement element specific
reading from an XML file.
|
Package |
getPackage() |
XMLPanel |
getPanel()
Uses a trick to set the cloned instance of actual parameters to be
edited, so that canceling of changes to the actual parameter collection
can be handled - the real instance of actual parameters is set to the
cloned instance within the isValidData method.
|
void |
toXML(Node parent)
Overrides super-class method to realize this class specific writting to
XML file.
|
getCollection, getID, getNode, isIDUniqueAndValid, setCollectionget, get, getChildElements, getElementsCount, getIndex, isEmpty, isValid, processAttributes, processElements, refreshLabelName, set, set, setReadOnly, toComplexType, toComplexTypeValues, toComplexValues, toStringfromXML, getPrintDescription, getPrintDescription, isCollapsed, isReadOnly, isRequired, isValidEnter, isVisible, setCollapsed, setLabelName, setRequired, setValue, setVisible, toLabel, toName, toValuepublic Tool(Tools tls, WorkflowProcess wp)
tls - The reference to collection of tools where this instance will
be put into.wp - The workflow process that holds activity which member is this
class instance.protected void fillStructure()
fillStructure 在类中 XMLCollectionElementpublic void toXML(Node parent) throws DOMException
toXML 在类中 XMLComplexElementparent - indicates how much tabulators to put before element tag.DOMExceptionpublic void fromXML(Node node)
XMLElementfromXML 在类中 XMLCollectionElementnode - The content retrieved from XML file, that represents tag for
this element.protected void afterImporting()
public XMLPanel getPanel()
getPanel 在类中 XMLComplexElementpublic Object clone()
clone 在类中 XMLCollectionElementpublic Package getPackage()
Copyright © 2023 onecode. All rights reserved.