com.exadel.vpe.editor.template
Class VpeDataTableCreator

java.lang.Object
  extended bycom.exadel.vpe.editor.template.VpeAbstractCreator
      extended bycom.exadel.vpe.editor.template.VpeDataTableCreator
All Implemented Interfaces:
VpeCreator

public class VpeDataTableCreator
extends VpeAbstractCreator


Method Summary
 VpeCreatorInfo create(VpePageContext pageContext, org.w3c.dom.Node sourceNode, com.exadel.swt.internal.mozilla.nsIDOMDocument visualDocument, com.exadel.swt.internal.mozilla.nsIDOMElement visualElement, java.util.Map visualNodeMap)
          Creates a node of the visual tree on the node of the source tree.
 void removeAttribute(VpePageContext pageContext, org.w3c.dom.Element sourceElement, java.util.Map visualNodeMap, java.lang.String name)
          Informs on remove of attribute of the current source element.
 void setAttribute(VpePageContext pageContext, org.w3c.dom.Element sourceElement, java.util.Map visualNodeMap, java.lang.String name, java.lang.String value)
          Sets value of attribute of the current visual element.
 void validate(VpePageContext pageContext, org.w3c.dom.Element sourceElement, com.exadel.swt.internal.mozilla.nsIDOMDocument visualDocument, com.exadel.swt.internal.mozilla.nsIDOMElement visualParent, com.exadel.swt.internal.mozilla.nsIDOMElement visualElement, java.util.Map visualNodeMap)
          Is invoked after construction of all child nodes of the current visual node.
 
Methods inherited from class com.exadel.vpe.editor.template.VpeAbstractCreator
isRecreateAtAttrChange, nonctrlKeyPressHandler, pseudo, refreshElement, removeElement
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public VpeCreatorInfo create(VpePageContext pageContext,
                             org.w3c.dom.Node sourceNode,
                             com.exadel.swt.internal.mozilla.nsIDOMDocument visualDocument,
                             com.exadel.swt.internal.mozilla.nsIDOMElement visualElement,
                             java.util.Map visualNodeMap)
Description copied from class: VpeAbstractCreator
Creates a node of the visual tree on the node of the source tree. This visual node should not have the parent node This visual node can have child nodes.

Specified by:
create in interface VpeCreator
Specified by:
create in class VpeAbstractCreator
Parameters:
pageContext - Contains the information on edited page.
sourceNode - The current node of the source tree.
visualDocument - The document of the visual tree.
visualElement - The current element of the visual tree.
visualNodeMap - Is used for a storage padding information.
Returns:
The information on the created node of the visual tree.

setAttribute

public void setAttribute(VpePageContext pageContext,
                         org.w3c.dom.Element sourceElement,
                         java.util.Map visualNodeMap,
                         java.lang.String name,
                         java.lang.String value)
Description copied from class: VpeAbstractCreator
Sets value of attribute of the current visual element. Is invoked at change of attribute of an source element.

Specified by:
setAttribute in interface VpeCreator
Overrides:
setAttribute in class VpeAbstractCreator
Parameters:
pageContext - Contains the information on edited page.
sourceElement - The current element of the source tree.
visualNodeMap - Is used for a storage padding information.
name - Attribute name.
value - Attribute value.

validate

public void validate(VpePageContext pageContext,
                     org.w3c.dom.Element sourceElement,
                     com.exadel.swt.internal.mozilla.nsIDOMDocument visualDocument,
                     com.exadel.swt.internal.mozilla.nsIDOMElement visualParent,
                     com.exadel.swt.internal.mozilla.nsIDOMElement visualElement,
                     java.util.Map visualNodeMap)
Description copied from class: VpeAbstractCreator
Is invoked after construction of all child nodes of the current visual node.

Specified by:
validate in interface VpeCreator
Overrides:
validate in class VpeAbstractCreator
Parameters:
pageContext - Contains the information on edited page.
sourceElement - The current element of the source tree.
visualDocument - The document of the visual tree.
visualParent - The future parent of the current visual element.
visualElement - The current element of the visual tree.
visualNodeMap - Is used for a storage padding information.

removeAttribute

public void removeAttribute(VpePageContext pageContext,
                            org.w3c.dom.Element sourceElement,
                            java.util.Map visualNodeMap,
                            java.lang.String name)
Description copied from class: VpeAbstractCreator
Informs on remove of attribute of the current source element.

Specified by:
removeAttribute in interface VpeCreator
Overrides:
removeAttribute in class VpeAbstractCreator
Parameters:
pageContext - Contains the information on edited page.
sourceElement - The current element of the source tree.
visualNodeMap - Is used for a storage padding information.
name - Attribute name.