com.exadel.vpe.editor.template
Class VpeDataTableColumnCreator

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

public class VpeDataTableColumnCreator
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 removeElement(VpePageContext pageContext, org.w3c.dom.Element sourceElement, java.util.Map visualNodeMap)
          Informs on remove of an element of the visual tree.
 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, removeAttribute, setAttribute
 
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.

removeElement

public void removeElement(VpePageContext pageContext,
                          org.w3c.dom.Element sourceElement,
                          java.util.Map visualNodeMap)
Description copied from class: VpeAbstractCreator
Informs on remove of an element of the visual tree.

Specified by:
removeElement in interface VpeCreator
Overrides:
removeElement 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.

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.