[jbosstools-commits] JBoss Tools SVN: r3060 - branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Fri Aug 10 05:09:45 EDT 2007


Author: ayukhovich
Date: 2007-08-10 05:09:44 -0400 (Fri, 10 Aug 2007)
New Revision: 3060

Modified:
   branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/AbstractRichFacesInputNumberTemplate.java
   branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesColumnTemplate.java
   branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataDefinitionListTemplate.java
   branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataFilterSliderTemplate.java
   branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataGridTemplate.java
   branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataListTemplate.java
   branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataOrderedListTemplate.java
   branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataTableScrollerTemplate.java
   branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataTableTemplate.java
   branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDropDownMenuTemplate.java
   branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesGMapTemplate.java
   branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesInputNumberSliderTemplate.java
   branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesInputNumberSpinnerTemplate.java
   branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPaint2DTemplate.java
   branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelBarTemplate.java
   branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelItemTemplate.java
   branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelTemplate.java
   branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesSeparatorTemplate.java
   branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesSimpleTogglePanelTemplate.java
   branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesSpacerTemplate.java
   branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesSubTableTemplate.java
   branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTabPanelTemplate.java
   branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTabTemplate.java
   branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesToggleControlTemplate.java
   branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTogglePanelTemplate.java
   branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesToolBarGroupTemplate.java
   branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesToolBarTemplate.java
   branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTreeNodeTemplate.java
   branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTreeTemplate.java
Log:
http://jira.jboss.com/jira/browse/EXIN-435 
Initiale commit. comment all calling nsIDOMNode

Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/AbstractRichFacesInputNumberTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/AbstractRichFacesInputNumberTemplate.java	2007-08-10 08:31:43 UTC (rev 3059)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/AbstractRichFacesInputNumberTemplate.java	2007-08-10 09:09:44 UTC (rev 3060)
@@ -27,7 +27,9 @@
 	 * @see com.exadel.vpe.editor.template.VpeAbstractTemplate#removeAttribute(com.exadel.vpe.editor.context.VpePageContext,
 	 *      org.w3c.dom.Element, org.w3c.dom.Document, org.w3c.dom.Node,
 	 *      java.lang.Object, java.lang.String)
-	 */
+	 */
+	// TODO A. Yukhovich please fix it
+	/*
 	@Override
 	public void removeAttribute(VpePageContext pageContext,
 			Element sourceElement, Document visualDocument, Node visualNode,
@@ -38,7 +40,8 @@
 		setAttribute(pageContext, sourceElement, visualDocument, visualNode,
 				data, name, "");
 
-	}
+	}
+	*/
 	
 	/** 
 	 * Return a input size

Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesColumnTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesColumnTemplate.java	2007-08-10 08:31:43 UTC (rev 3059)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesColumnTemplate.java	2007-08-10 09:09:44 UTC (rev 3060)
@@ -17,16 +17,20 @@
 import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
 import org.jboss.tools.vpe.editor.template.VpeChildrenInfo;
 import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.mozilla.interfaces.nsIDOMDocument;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
 
 public class RichFacesColumnTemplate extends VpeAbstractTemplate {
 
+	// TODO A. Yukhovich please fix it
+	/*
 	@Override
 	public boolean isRecreateAtAttrChange(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name, String value) {
 		return true;
 	}
+	*/
 
 	public VpeCreationData create(VpePageContext pageContext, Node sourceNode, Document visualDocument) {
 		Element sourceElement = (Element)sourceNode;
@@ -40,10 +44,12 @@
 			td.setAttribute("class", "dr-table-cell rich-table-cell");			
 		}
 		ComponentUtil.copyAttributes(sourceNode, td);
-		VpeCreationData creationData = new VpeCreationData(td);
+		// TODO A. Yukhovich please fix it
+		VpeCreationData creationData = new VpeCreationData(null/*td*/);
 
 		// Create mapping to Encode body
-		VpeChildrenInfo tdInfo = new VpeChildrenInfo(td);
+		// TODO A. Yukhovich please fix it
+		VpeChildrenInfo tdInfo = new VpeChildrenInfo(null/*td*/);
 		List<Node> children = ComponentUtil.getChildren(sourceElement);
 		for (Node child : children) {
 			tdInfo.addSourceChild(child);
@@ -73,6 +79,8 @@
 		return false;
 	}
 
+	// TODO A. Yukhovich please fix it
+	/*
 	@Override
 	public void removeAttribute(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name) {
 		((Element)visualNode).removeAttribute(name);
@@ -82,4 +90,11 @@
 	public void setAttribute(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name, String value) {
 		((Element)visualNode).setAttribute(name, value);
 	}
+	*/
+
+	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+			nsIDOMDocument visualDocument) {
+		// TODO Auto-generated method stub
+		return null;
+	}
 }
\ No newline at end of file

Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataDefinitionListTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataDefinitionListTemplate.java	2007-08-10 08:31:43 UTC (rev 3059)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataDefinitionListTemplate.java	2007-08-10 09:09:44 UTC (rev 3060)
@@ -16,6 +16,7 @@
 import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
 import org.jboss.tools.vpe.editor.template.VpeChildrenInfo;
 import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.mozilla.interfaces.nsIDOMDocument;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
@@ -66,7 +67,9 @@
 				.createElement(HtmlComponentUtil.HTML_TAG_DL);
 		ComponentUtil.setCSSLink(pageContext, STYLE_RESOURCES_PATH,
 				"dataDefinitionList");
-		VpeCreationData creationData = new VpeCreationData(listElement);
+		
+		// TODO A. Yukhovich please fix it
+		VpeCreationData creationData = new VpeCreationData(null/*listElement*/);
 		Element el = null;
 		Node tempNode = null;
 		NodeList list = sourceNode.getChildNodes();
@@ -125,7 +128,8 @@
 					HtmlComponentUtil.HTML_CLASS_ATTR, "columnClass");
 		}
 		parentList.appendChild(dd);
-		VpeChildrenInfo vpeChildrenInfo = new VpeChildrenInfo(dd);
+		// TODO A. Yukhovich please fix it
+		VpeChildrenInfo vpeChildrenInfo = new VpeChildrenInfo(null/*dd*/);
 		vpeChildrenInfo.addSourceChild(childElement);
 		creationData.addChildrenInfo(vpeChildrenInfo);
 	}
@@ -152,7 +156,8 @@
 		correctAttribute((Element) sourceNode, dt, HEADER_CLASS_ATTR_NAME,
 				HtmlComponentUtil.HTML_CLASS_ATTR, "headerClass");
 		parentList.appendChild(dt);
-		VpeChildrenInfo child = new VpeChildrenInfo(dt);
+		// TODO A. Yukhovich please fix it
+		VpeChildrenInfo child = new VpeChildrenInfo(null/*dt*/);
 		child.addSourceChild(facetElement);
 		creationData.addChildrenInfo(child);
 	}
@@ -178,6 +183,8 @@
 			visualNode.removeAttribute(attrName);
 	}
 
+	// TODO A. Yukhovich please fix it
+	/*
 	@Override
 	public void setAttribute(VpePageContext pageContext, Element sourceElement,
 			Document visualDocument, Node visualNode, Object data, String name,
@@ -193,6 +200,7 @@
 		processAttributeChanges(pageContext, sourceElement, visualDocument,
 				visualNode, data, name);
 	}
+	*/
 
 	/**
 	 * Correct list style accordinly parameters
@@ -258,4 +266,10 @@
 			}
 		}
 	}
+
+	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+			nsIDOMDocument visualDocument) {
+		// TODO Auto-generated method stub
+		return null;
+	}
 }

Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataFilterSliderTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataFilterSliderTemplate.java	2007-08-10 08:31:43 UTC (rev 3059)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataFilterSliderTemplate.java	2007-08-10 09:09:44 UTC (rev 3060)
@@ -14,6 +14,7 @@
 import org.jboss.tools.jsf.vpe.richfaces.HtmlComponentUtil;
 import org.jboss.tools.vpe.editor.context.VpePageContext;
 import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.mozilla.interfaces.nsIDOMDocument;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
@@ -173,10 +174,12 @@
 		
 		parentDiv.appendChild(input);
 
-		VpeCreationData creationData = new VpeCreationData(parentDiv);
+		// TODO A. Yukhovich please fix it
+		VpeCreationData creationData = new VpeCreationData(null/*parentDiv*/);
 		return creationData;
 	}
 
+	// TODO A. Yukhovich please fix it
 	/*
 	 * (non-Javadoc)
 	 * 
@@ -184,6 +187,7 @@
 	 *      org.w3c.dom.Element, org.w3c.dom.Document, org.w3c.dom.Node,
 	 *      java.lang.Object, java.lang.String)
 	 */
+	/*
 	@Override
 	public void removeAttribute(VpePageContext pageContext,
 			Element sourceElement, Document visualDocument, Node visualNode,
@@ -245,7 +249,9 @@
 			element.removeAttribute(name);
 		}
 	}
-
+*/
+	
+	// TODO A. Yukhovich please fix it
 	/*
 	 * (non-Javadoc)
 	 * 
@@ -253,6 +259,7 @@
 	 *      org.w3c.dom.Element, org.w3c.dom.Document, org.w3c.dom.Node,
 	 *      java.lang.Object, java.lang.String, java.lang.String)
 	 */
+	/*
 	@Override
 	public void setAttribute(VpePageContext pageContext, Element sourceElement,
 			Document visualDocument, Node visualNode, Object data, String name,
@@ -325,6 +332,7 @@
 			parentDiv.setAttribute(name, value);
 		}
 	}
+	*/
 
 	/**
 	 * Method for create DIV tag and set attributes
@@ -469,4 +477,10 @@
 				value 
 				);
 	}
+
+	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+			nsIDOMDocument visualDocument) {
+		// TODO Auto-generated method stub
+		return null;
+	}
 }

Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataGridTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataGridTemplate.java	2007-08-10 08:31:43 UTC (rev 3059)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataGridTemplate.java	2007-08-10 09:09:44 UTC (rev 3060)
@@ -37,7 +37,8 @@
 		Element table = visualDocument.createElement("table");
 		ComponentUtil.copyAttributes(sourceNode, table);
 
-		VpeCreationData creationData = new VpeCreationData(table);
+		// TODO A. Yukhovich please fix it
+		VpeCreationData creationData = new VpeCreationData(null/*table*/);
 
 		ComponentUtil.setCSSLink(pageContext, "dataTable/dataTable.css", "richFacesDataGrid");
 		String tableClass = sourceElement.getAttribute("styleClass");
@@ -97,7 +98,8 @@
 					tr.appendChild(td);
 					td.setAttribute("class", "dr-table-cell rich-table-cell " + getColumnClass(columnIndex));
 					if(!children.isEmpty()) {
-						VpeChildrenInfo childInfo = new VpeChildrenInfo(td);
+						// TODO A. Yukhovich please fix it
+						VpeChildrenInfo childInfo = new VpeChildrenInfo(null/*td*/);
 						for (Node child : children) {
 							childInfo.addSourceChild(child);
 						}
@@ -175,6 +177,8 @@
 		return elements;
 	}
 
+	// TODO A. Yukhovich please fix it
+	/*
 	@Override
 	public void removeAttribute(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name) {
 		((Element)visualNode).removeAttribute(name);
@@ -184,4 +188,5 @@
 	public void setAttribute(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name, String value) {
 		((Element)visualNode).setAttribute(name, value);
 	}
+	*/
 }
\ No newline at end of file

Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataListTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataListTemplate.java	2007-08-10 08:31:43 UTC (rev 3059)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataListTemplate.java	2007-08-10 09:09:44 UTC (rev 3060)
@@ -16,7 +16,9 @@
 import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
 import org.jboss.tools.vpe.editor.template.VpeChildrenInfo;
 import org.jboss.tools.vpe.editor.template.VpeCreationData;
-import org.jboss.tools.vpe.editor.util.MozillaSupports;
+// TODO A. Yukhovich please fix it
+//import org.jboss.tools.vpe.editor.util.MozillaSupports;
+import org.mozilla.interfaces.nsIDOMDocument;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
@@ -28,11 +30,13 @@
 	static final String STYLE_ATTR_NAME = "style";
 	static final String ROWS_ATTR_NAME = "rows";
 
-	
+	// TODO A. Yukhovich please fix if
+	/*
 	@Override
 	public boolean isRecreateAtAttrChange(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name, String value) {
 		return true;
 	}
+	*/
 
 
 	public VpeCreationData create(VpePageContext pageContext, Node sourceNode, Document visualDocument) {
@@ -49,7 +53,8 @@
 				STYLE_ATTR_NAME,
 				HtmlComponentUtil.HTML_STYLE_ATTR, null, null);
 
-		VpeCreationData creatorInfo = new VpeCreationData(unorderedList);
+		// TODO A. Yukhovich please fix if
+		VpeCreationData creatorInfo = new VpeCreationData(null/*unorderedList*/);
 
 		int rows = -1;
 		try {
@@ -63,10 +68,12 @@
 			listItem.setAttribute("class", "dr-list-item rich-list-item");
 			unorderedList.appendChild(listItem);
 			
-			VpeChildrenInfo info = new VpeChildrenInfo(listItem);
+			// TODO A. Yukhovich please fix if
+			VpeChildrenInfo info = null /* new VpeChildrenInfo(listItem)*/;
 			creatorInfo.addChildrenInfo(info);
 			encodeListItem(info, sourceElement);
-			MozillaSupports.release(listItem);
+// TODO A. Yukhovich please fix if
+//			MozillaSupports.release(listItem);
 		}
 		
 		return creatorInfo;
@@ -93,4 +100,11 @@
 			}
 		}
 	}
+
+
+	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+			nsIDOMDocument visualDocument) {
+		// TODO Auto-generated method stub
+		return null;
+	}
 }

Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataOrderedListTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataOrderedListTemplate.java	2007-08-10 08:31:43 UTC (rev 3059)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataOrderedListTemplate.java	2007-08-10 09:09:44 UTC (rev 3060)
@@ -16,7 +16,9 @@
 import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
 import org.jboss.tools.vpe.editor.template.VpeChildrenInfo;
 import org.jboss.tools.vpe.editor.template.VpeCreationData;
-import org.jboss.tools.vpe.editor.util.MozillaSupports;
+import org.mozilla.interfaces.nsIDOMDocument;
+//TODO A. Yukhovich please fix if
+//import org.jboss.tools.vpe.editor.util.MozillaSupports;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
@@ -29,10 +31,13 @@
 	static final String ROWS_ATTR_NAME = "rows";
 
 	
+	// TODO A. Yukhovich please fix if
+	/*
 	@Override
 	public boolean isRecreateAtAttrChange(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name, String value) {
 		return true;
 	}
+	*/
 
 	public VpeCreationData create(VpePageContext pageContext, Node sourceNode, Document visualDocument) {
 		Element sourceElement = (Element)sourceNode;
@@ -48,7 +53,8 @@
 				STYLE_ATTR_NAME,
 				HtmlComponentUtil.HTML_STYLE_ATTR, null, null);
 
-		VpeCreationData creatorInfo = new VpeCreationData(orderedList);
+		// TODO A. Yukhovich please fix if
+		VpeCreationData creatorInfo = new VpeCreationData(null/*orderedList*/);
 
 		int rows = -1;
 		try {
@@ -62,10 +68,12 @@
 			listItem.setAttribute("class", "dr-list-item rich-list-item");
 			orderedList.appendChild(listItem);
 			
-			VpeChildrenInfo info = new VpeChildrenInfo(listItem);
+			// TODO A. Yukhovich please fix if
+			VpeChildrenInfo info = null /*new VpeChildrenInfo(listItem)*/;
 			creatorInfo.addChildrenInfo(info);
 			encodeListItem(info, sourceElement);
-			MozillaSupports.release(listItem);
+			// TODO A. Yukhovich please fix if
+			/*MozillaSupports.release(listItem);*/
 		}
 		
 		return creatorInfo;
@@ -92,4 +100,10 @@
 			}
 		}
 	}
+
+	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+			nsIDOMDocument visualDocument) {
+		// TODO Auto-generated method stub
+		return null;
+	}
 }

Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataTableScrollerTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataTableScrollerTemplate.java	2007-08-10 08:31:43 UTC (rev 3059)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataTableScrollerTemplate.java	2007-08-10 09:09:44 UTC (rev 3060)
@@ -15,6 +15,7 @@
 import org.jboss.tools.vpe.editor.context.VpePageContext;
 import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
 import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.mozilla.interfaces.nsIDOMDocument;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
@@ -107,7 +108,9 @@
 				.createElement(HtmlComponentUtil.HTML_TAG_TR);
 		tbody.appendChild(tr);
 		table.appendChild(tbody);
-		VpeCreationData creationData = new VpeCreationData(div);
+		
+		// TODO A. Yukhovich please fix it
+		VpeCreationData creationData = new VpeCreationData(null/*div*/);
 		/* Add scroll cells */
 		Element child1 = createCell(visualDocument, false,
 				LEFT_DOUBLE_SCROLL_SYMBOL, SCROLL_CELL);
@@ -187,6 +190,8 @@
 	/**
 	 * Method for remove attributes .
 	 */
+	// TODO A. Yukhovich please fix it
+	/*
 	@Override
 	public void removeAttribute(VpePageContext pageContext,
 			Element sourceElement, Document visualDocument, Node visualNode,
@@ -197,12 +202,15 @@
 		element.removeAttribute(name);
 
 	}
+	*/
 
 	/*
 	 * @see com.exadel.vpe.editor.template.VpeAbstractTemplate#setAttribute(com.exadel.vpe.editor.context.VpePageContext,
 	 *      org.w3c.dom.Element, org.w3c.dom.Document, org.w3c.dom.Node,
 	 *      java.lang.Object, java.lang.String, java.lang.String)
 	 */
+	// TODO A. Yukhovich please fix it
+	/*
 	@Override
 	public void setAttribute(VpePageContext pageContext, Element sourceElement,
 			Document visualDocument, Node visualNode, Object data, String name,
@@ -225,16 +233,16 @@
 			int nodesLength = nodes.getLength();
 			if (nodesLength != size) {
 				if (size < nodesLength) {
-					/* Remove cells in datascroller */
+					// Remove cells in datascroller
 					for (int i = size; i < nodesLength; i++) {
 						tr.removeChild(nodes.item(size - 3));
 					}
 				} else {
-					/* Remove cells in datascroller */
+					// Remove cells in datascroller 
 					for (int i = 0; i < 3; i++) {
 						tr.removeChild(nodes.item(nodesLength - 3));
 					}
-					/* Add cells in datascroller */
+					// Add cells in datascroller 
 					for (int i = 0; i < (size - nodesLength); i++) {
 						Element cell = createCell(visualDocument, false, ""
 								+ (nodesLength - 5 + i), NUM_CELL);
@@ -255,7 +263,7 @@
 		element.setAttribute(name, value);
 
 	}
-
+	*/
 	/**
 	 * Method for parse style and get width.
 	 * 
@@ -318,4 +326,10 @@
 		NodeList tbodyList = tbody.getChildNodes();
 		return (Element) tbodyList.item(0);
 	}
+
+	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+			nsIDOMDocument visualDocument) {
+		// TODO Auto-generated method stub
+		return null;
+	}
 }
\ No newline at end of file

Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataTableTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataTableTemplate.java	2007-08-10 08:31:43 UTC (rev 3059)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataTableTemplate.java	2007-08-10 09:09:44 UTC (rev 3060)
@@ -18,16 +18,20 @@
 import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
 import org.jboss.tools.vpe.editor.template.VpeChildrenInfo;
 import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.mozilla.interfaces.nsIDOMDocument;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
 import org.w3c.dom.NodeList;
 
 public class RichFacesDataTableTemplate extends VpeAbstractTemplate {
+	// TODO A. Yukhovich please fix it
+	/*
 	@Override
 	public boolean isRecreateAtAttrChange(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name, String value) {
 		return true;
 	}
+	*/
 
 	public VpeCreationData create(VpePageContext pageContext, Node sourceNode, Document visualDocument) {
 
@@ -36,7 +40,8 @@
 		Element table = visualDocument.createElement("table");
 		ComponentUtil.copyAttributes(sourceNode, table);
 
-		VpeCreationData creationData = new VpeCreationData(table);
+		// TODO A. Yukhovich please fix it
+		VpeCreationData creationData = new VpeCreationData(null/*table*/);
 
 		ComponentUtil.setCSSLink(pageContext, "dataTable/dataTable.css", "richFacesDataTable");
 		String tableClass = sourceElement.getAttribute("styleClass");
@@ -138,7 +143,8 @@
 					} else {
 						tr.setAttribute("class", "dr-table-row rich-table-row");
 					}
-					trInfo = new VpeChildrenInfo(tr);
+					// TODO A. Yukhovich please fix it
+					trInfo = new VpeChildrenInfo(null/*tr*/);
 					tbody.appendChild(tr);
 					creationData.addChildrenInfo(trInfo);
 				}
@@ -150,7 +156,8 @@
 				RichFacesSubTableTemplate.DEFAULT_INSTANCE.encode(creationData, (Element)child, visualDocument, tbody);
 				tr = null;
 			} else {
-				VpeChildrenInfo childInfo = new VpeChildrenInfo(tbody);
+				// TODO A. Yukhovich please fix it
+				VpeChildrenInfo childInfo = new VpeChildrenInfo(null/*tbody*/);
 				childInfo.addSourceChild(child);
 				creationData.addChildrenInfo(childInfo);
 				tr = null;
@@ -178,7 +185,9 @@
 			if (captionStyle != null && captionStyle.length()>0) {
 				caption.setAttribute("style", captionStyle);
 			}
-			VpeChildrenInfo cap = new VpeChildrenInfo(caption);
+			
+			// TODO A. Yukhovich please fix it
+			VpeChildrenInfo cap = new VpeChildrenInfo(null/*caption*/);
 			cap.addSourceChild(captionFromFacet);
 			creationData.addChildrenInfo(cap);
 		}
@@ -200,7 +209,8 @@
 			}
 			Element facetBody = ComponentUtil.getFacet(column, facetName);
 
-			VpeChildrenInfo child = new VpeChildrenInfo(td);
+			// TODO A. Yukhovich please fix it
+			VpeChildrenInfo child = new VpeChildrenInfo(null/*td*/);
 			child.addSourceChild(facetBody);
 			creationData.addChildrenInfo(child);
 		}
@@ -237,7 +247,8 @@
 			}
 			td.setAttribute("scope", "colgroup");
 
-			VpeChildrenInfo child = new VpeChildrenInfo(td);
+			// TODO A. Yukhovich please fix it
+			VpeChildrenInfo child = new VpeChildrenInfo(null/*td*/);
 			child.addSourceChild(facetBody);
 			creationData.addChildrenInfo(child);
 		}
@@ -370,6 +381,8 @@
 		return count;
 	}
 
+	// TODO A. Yukhovich please fix it
+	/*
 	@Override
 	public void removeAttribute(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name) {
 		((Element)visualNode).removeAttribute(name);
@@ -379,4 +392,11 @@
 	public void setAttribute(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name, String value) {
 		((Element)visualNode).setAttribute(name, value);
 	}
+	*/
+
+	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+			nsIDOMDocument visualDocument) {
+		// TODO Auto-generated method stub
+		return null;
+	}
 }
\ No newline at end of file

Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDropDownMenuTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDropDownMenuTemplate.java	2007-08-10 08:31:43 UTC (rev 3059)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDropDownMenuTemplate.java	2007-08-10 09:09:44 UTC (rev 3060)
@@ -18,7 +18,9 @@
 import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
 import org.jboss.tools.vpe.editor.template.VpeChildrenInfo;
 import org.jboss.tools.vpe.editor.template.VpeCreationData;
-import org.jboss.tools.vpe.editor.util.MozillaSupports;
+import org.mozilla.interfaces.nsIDOMDocument;
+//TODO A. Yukhovich please fix if
+//import org.jboss.tools.vpe.editor.util.MozillaSupports;
 import org.w3c.dom.Attr;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
@@ -32,10 +34,13 @@
 	private static final String ITEMCLASS_ATTR_NAME = "itemClass";
 	private static final String ITEMSTYLE_ATTR_NAME = "itemStyle";
 	
+	// TODO A. Yukhovich please fix if
+	/*
 	@Override
 	public boolean isRecreateAtAttrChange(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name, String value) {
 		return true;
 	}
+	*/
 
 	public VpeCreationData create(VpePageContext pageContext, Node sourceNode, Document visualDocument) {
 		Element sourceElement = (Element)sourceNode;
@@ -70,9 +75,9 @@
 		
 		String ddmLabelFromFacet = getLabelFacet(sourceElement);
 		Map visualNodeMap = pageContext.getDomMapping().getVisualMap();
-		
-		VpeCreationData creatorInfo = new VpeCreationData(visualMenu);
-		VpeChildrenInfo childrenInfo = new VpeChildrenInfo(visualMenuLabel);
+		// TODO A. Yukhovich please fix if
+		VpeCreationData creatorInfo = new VpeCreationData(null/*visualMenu*/);
+		VpeChildrenInfo childrenInfo = new VpeChildrenInfo(null/*visualMenuLabel*/);
 		Node textLabel = null;
 		if (ddmLabelFromFacet != null) {
 			textLabel = visualDocument.createTextNode(ddmLabelFromFacet);
@@ -84,7 +89,8 @@
 			creatorInfo.addChildrenInfo(childrenInfo);
 		}
 		visualMenu.appendChild(visualMenuLabel);
-		MozillaSupports.release(visualMenuLabel);
+		// TODO A. Yukhovich please fix if
+		//MozillaSupports.release(visualMenuLabel);
 		
 		return creatorInfo;
 	}
@@ -145,6 +151,8 @@
 		return content;
 	}
 	
+	// TODO A. Yukhovich please fix if
+	/*
 	@Override
 	public void removeAttribute(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name) {
 		processAttributeChanges(pageContext, sourceElement, visualDocument, visualNode, data, name);
@@ -154,6 +162,7 @@
 	public void setAttribute(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name, String value) {
 		processAttributeChanges(pageContext, sourceElement, visualDocument, visualNode, data, name);
 	}
+	*/
 
 	/**
 	 * Correct list style accordinly parameters
@@ -242,4 +251,10 @@
 			visualNode.removeAttribute(attrName);
 	}
 
+	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+			nsIDOMDocument visualDocument) {
+		// TODO Auto-generated method stub
+		return null;
+	}
+
 }

Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesGMapTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesGMapTemplate.java	2007-08-10 08:31:43 UTC (rev 3059)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesGMapTemplate.java	2007-08-10 09:09:44 UTC (rev 3060)
@@ -15,6 +15,7 @@
 import org.jboss.tools.vpe.editor.context.VpePageContext;
 import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
 import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.mozilla.interfaces.nsIDOMDocument;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
@@ -38,6 +39,7 @@
 	 *      org.w3c.dom.Element, org.w3c.dom.Document, org.w3c.dom.Node,
 	 *      java.lang.Object, java.lang.String)
 	 */
+	/*
 	@Override
 	public void removeAttribute(VpePageContext pageContext,
 			Element sourceElement, Document visualDocument, Node visualNode,
@@ -51,6 +53,7 @@
 			img.removeAttribute(name);
 		}
 	}
+	*/
 
 	/*
 	 * (non-Javadoc)
@@ -59,6 +62,8 @@
 	 *      org.w3c.dom.Element, org.w3c.dom.Document, org.w3c.dom.Node,
 	 *      java.lang.Object, java.lang.String, java.lang.String)
 	 */
+	// TODO A. Yukhovich please fix it
+	/*
 	@Override
 	public void setAttribute(VpePageContext pageContext, Element sourceElement,
 			Document visualDocument, Node visualNode, Object data, String name,
@@ -73,6 +78,7 @@
 				img.setAttribute(name,value);
 			}
 	}
+	*/
 
 	/**
 	 * Create html instead of rich:faces component.
@@ -93,14 +99,22 @@
 		if(((Element)sourceNode).getAttribute(STYLE_CLASS_ATTR_NAME)!=null){
 			img.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR,((Element)sourceNode).getAttribute("styleClass"));
 			} 
-		VpeCreationData creationData = new VpeCreationData(img);
+		// TODO A. Yukhovich please fix it
+		VpeCreationData creationData = new VpeCreationData(null/*img*/);
 		return creationData;
 	}
 
+	// TODO A. Yukhovich please fix it
 	public void resize(VpePageContext pageContext, Element sourceElement,
 			Document visualDocument, Element visualElement, Object data,
 			int resizerConstrains, int top, int left, int width, int height) {
-		super.resize(pageContext, sourceElement, visualDocument, visualElement,
-				data, resizerConstrains, top, left, width, height);
+//		super.resize(pageContext, sourceElement, visualDocument, visualElement,
+//				data, resizerConstrains, top, left, width, height);
 	}
+
+	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+			nsIDOMDocument visualDocument) {
+		// TODO Auto-generated method stub
+		return null;
+	}
 }
\ No newline at end of file

Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesInputNumberSliderTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesInputNumberSliderTemplate.java	2007-08-10 08:31:43 UTC (rev 3059)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesInputNumberSliderTemplate.java	2007-08-10 09:09:44 UTC (rev 3060)
@@ -20,6 +20,7 @@
 import org.jboss.tools.jsf.vpe.richfaces.RichFacesTemplatesActivator;
 import org.jboss.tools.vpe.editor.context.VpePageContext;
 import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.mozilla.interfaces.nsIDOMDocument;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
@@ -280,8 +281,9 @@
 				}
 			}
 		}
-
-		VpeCreationData creationData = new VpeCreationData(table1);
+
+		// TODO A. Yukhovich please fix it
+		VpeCreationData creationData = new VpeCreationData(null/*table1*/);
 		return creationData;
 	}
 
@@ -290,7 +292,8 @@
 	 * @see com.exadel.vpe.editor.template.VpeAbstractTemplate#setAttribute(com.exadel.vpe.editor.context.VpePageContext,
 	 *      org.w3c.dom.Element, org.w3c.dom.Document, org.w3c.dom.Node,
 	 *      java.lang.Object, java.lang.String, java.lang.String)
-	 */
+	 */
+	/*
 	@Override
 	public void setAttribute(VpePageContext pageContext, Element sourceElement,
 			Document visualDocument, Node visualNode, Object data, String name,
@@ -312,7 +315,8 @@
 			}
 		}
 		correctArrowPosition(sourceElement, visualNode);
-	}
+	}
+	*/
 
 	/**
 	 * 
@@ -637,6 +641,12 @@
 			String tmp = getAttribute("maxlength", sourceNode);
 			input.setAttribute("maxlength", tmp);
 		}
+	}
+
+	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+			nsIDOMDocument visualDocument) {
+		// TODO Auto-generated method stub
+		return null;
 	}
 
 }
\ No newline at end of file

Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesInputNumberSpinnerTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesInputNumberSpinnerTemplate.java	2007-08-10 08:31:43 UTC (rev 3059)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesInputNumberSpinnerTemplate.java	2007-08-10 09:09:44 UTC (rev 3060)
@@ -14,6 +14,7 @@
 import org.jboss.tools.jsf.vpe.richfaces.HtmlComponentUtil;
 import org.jboss.tools.vpe.editor.context.VpePageContext;
 import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.mozilla.interfaces.nsIDOMDocument;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
@@ -94,8 +95,9 @@
 		String tmp = getAttribute("style", sourceNode);
 		table.setAttribute("style", tmp);
 
-		// Create return variable contain template
-		VpeCreationData creationData = new VpeCreationData(table);
+		// Create return variable contain template
+		// TODO A. Yukhovich please fix it
+		VpeCreationData creationData = new VpeCreationData(null/*table*/);
 
 		return creationData;
 	}
@@ -196,7 +198,9 @@
 	 *      org.w3c.dom.Element, org.w3c.dom.Document, org.w3c.dom.Node,
 	 *      java.lang.Object, java.lang.String, java.lang.String)
 	 */
-	@Override
+	@Override
+	// TODO A. Yukhovich please fix it
+	/*
 	public void setAttribute(VpePageContext pageContext, Element sourceElement,
 			Document visualDocument, Node visualNode, Object data, String name,
 			String value) {
@@ -226,7 +230,8 @@
 		// 3. Set a style for main container
 		String strStyle =  getAttribute("style", sourceElement);
 		table.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, strStyle);
-	}
+	}
+	*/
 
 	
 	
@@ -236,6 +241,12 @@
 	
 	public String getDefaultInputClass() {
 		return DEFAULT_INPUT_STYLE;
+	}
+
+	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+			nsIDOMDocument visualDocument) {
+		// TODO Auto-generated method stub
+		return null;
 	}
 
 }

Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPaint2DTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPaint2DTemplate.java	2007-08-10 08:31:43 UTC (rev 3059)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPaint2DTemplate.java	2007-08-10 09:09:44 UTC (rev 3060)
@@ -15,6 +15,7 @@
 import org.jboss.tools.vpe.editor.context.VpePageContext;
 import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
 import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.mozilla.interfaces.nsIDOMDocument;
 import org.w3c.dom.Attr;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
@@ -33,6 +34,12 @@
 
 	private String PAINT2D_CSS_FILE = "/paint2D/paint2D.css";
 
+	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+			nsIDOMDocument visualDocument) {
+		// TODO Auto-generated method stub
+		return null;
+	}
+
 	/*
 	 * (non-Javadoc)
 	 * 
@@ -40,6 +47,8 @@
 	 *      org.w3c.dom.Element, org.w3c.dom.Document, org.w3c.dom.Node,
 	 *      java.lang.Object, java.lang.String)
 	 */
+	// TODO A. Yukhovich please fix it
+	/*
 	@Override
 	public void removeAttribute(VpePageContext pageContext,
 			Element sourceElement, Document visualDocument, Node visualNode,
@@ -59,7 +68,8 @@
 			img.removeAttribute(name);
 
 	}
-
+	*/
+	
 	/*
 	 * (non-Javadoc)
 	 * 
@@ -67,6 +77,8 @@
 	 *      org.w3c.dom.Element, org.w3c.dom.Document, org.w3c.dom.Node,
 	 *      java.lang.Object, java.lang.String, java.lang.String)
 	 */
+	// TODO A. Yukhovich please fix it
+	/*
 	@Override
 	public void setAttribute(VpePageContext pageContext, Element sourceElement,
 			Document visualDocument, Node visualNode, Object data, String name,
@@ -79,6 +91,7 @@
 		} else
 			img.setAttribute(name, value);
 	}
+	*/
 
 	/**
 	 * Create html instead rich:faces component.
@@ -91,6 +104,8 @@
 	 *            The document of the visual tree.
 	 * @return The information on the created node of the visual tree.
 	 */
+	// TODO A. Yukhovich please fix it
+	/*
 	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
 			Document visualDocument) {
 		Element img = visualDocument.createElement("img");
@@ -111,6 +126,7 @@
 		VpeCreationData creationData = new VpeCreationData(img);
 		return creationData;
 	}
+	*/
 
 	/**
 	 * Copy attributes from one node to another node.
@@ -118,6 +134,8 @@
 	 * @param sourceNode
 	 * @param distinitionNode
 	 */
+	// TODO A. Yukhovich please fix it
+	/*
 	private void copyAtrributes(Node sourceNode, Element distinitionNode,
 			Document visualDocument) {
 		NamedNodeMap sourceAttrbutes = sourceNode.getAttributes();
@@ -128,4 +146,11 @@
 			distinitionNode.setAttributeNode(attr);
 		}
 	}
+	
+	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+			nsIDOMDocument visualDocument) {
+		// TODO Auto-generated method stub
+		return null;
+	}
+	*/
 }

Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelBarTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelBarTemplate.java	2007-08-10 08:31:43 UTC (rev 3059)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelBarTemplate.java	2007-08-10 09:09:44 UTC (rev 3060)
@@ -20,6 +20,7 @@
 import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
 import org.jboss.tools.vpe.editor.template.VpeCreationData;
 import org.jboss.tools.vpe.editor.template.VpeToggableTemplate;
+import org.mozilla.interfaces.nsIDOMDocument;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
@@ -28,10 +29,13 @@
 
 	private static Map toggleMap = new HashMap();
 
+	// TODO A. Yukhovich please fix it
+	/*
 	@Override
 	public boolean isRecreateAtAttrChange(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name, String value) {
 		return true;
 	}
+	*/
 
 	public VpeCreationData create(VpePageContext pageContext, Node sourceNode, Document visualDocument) {
 
@@ -39,7 +43,8 @@
 
 		Element div = visualDocument.createElement("div");
 
-		VpeCreationData creationData = new VpeCreationData(div);
+		// TODO A. Yukhovich please fix it
+		VpeCreationData creationData = new VpeCreationData(null/*div*/);
 
 		ComponentUtil.setCSSLink(pageContext, "panelBar/panelBar.css", "richFacesPanelBar");
 		String styleClass = sourceElement.getAttribute("styleClass");
@@ -131,4 +136,10 @@
 		}
 		return count;
 	}
+
+	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+			nsIDOMDocument visualDocument) {
+		// TODO Auto-generated method stub
+		return null;
+	}
 }
\ No newline at end of file

Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelItemTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelItemTemplate.java	2007-08-10 08:31:43 UTC (rev 3059)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelItemTemplate.java	2007-08-10 09:09:44 UTC (rev 3060)
@@ -17,15 +17,19 @@
 import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
 import org.jboss.tools.vpe.editor.template.VpeChildrenInfo;
 import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.mozilla.interfaces.nsIDOMDocument;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
 
 public class RichFacesPanelItemTemplate extends VpeAbstractTemplate {
+	// TODO A. Yukhovich please fix it
+	/*
 	@Override
 	public boolean isRecreateAtAttrChange(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name, String value) {
 		return true;
 	}
+	*/
 
 	public static VpeCreationData encode(VpeCreationData creationData, Element sourceElement, Document visualDocument, Element parentVisualElement, boolean active,
 			String barStyleClass, String barStyle,
@@ -37,7 +41,8 @@
 		Element div = visualDocument.createElement("div");
 
 		if(creationData==null) {
-			creationData = new VpeCreationData(div);
+			// TODO A. Yukhovich please fix it
+			creationData = new VpeCreationData(null/*div*/);
 		} else {
 			parentVisualElement.appendChild(div);
 		}
@@ -85,7 +90,8 @@
 			td.setAttribute("style", tdStyle);
 
 			List<Node> children = ComponentUtil.getChildren(sourceElement, true);
-			VpeChildrenInfo bodyInfo = new VpeChildrenInfo(td);
+			// TODO A. Yukhovich please fix it
+			VpeChildrenInfo bodyInfo = new VpeChildrenInfo(null/*td*/);
 			for (Node child : children) {
 				bodyInfo.addSourceChild(child);
 			}
@@ -111,4 +117,10 @@
 			div.appendChild(visualDocument.createTextNode(label));
 		}
 	}
+
+	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+			nsIDOMDocument visualDocument) {
+		// TODO Auto-generated method stub
+		return null;
+	}
 }
\ No newline at end of file

Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelTemplate.java	2007-08-10 08:31:43 UTC (rev 3059)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelTemplate.java	2007-08-10 09:09:44 UTC (rev 3060)
@@ -17,16 +17,20 @@
 import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
 import org.jboss.tools.vpe.editor.template.VpeChildrenInfo;
 import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.mozilla.interfaces.nsIDOMDocument;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
 
 public class RichFacesPanelTemplate extends VpeAbstractTemplate {
 
+	// TODO A. Yukhovich please fix it
+	/*
 	@Override
 	public boolean isRecreateAtAttrChange(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name, String value) {
 		return true;
 	}
+	*/
 
 	public VpeCreationData create(VpePageContext pageContext, Node sourceNode, Document visualDocument) {
 
@@ -34,7 +38,8 @@
 
 		Element div = visualDocument.createElement("div");
 
-		VpeCreationData creationData = new VpeCreationData(div);
+		// TODO A. Yukhovich please fix it
+		VpeCreationData creationData = new VpeCreationData(null/*div*/);
 
 		ComponentUtil.setCSSLink(pageContext, "panel/panel.css", "richFacesPanel");
 		String styleClass = sourceElement.getAttribute("styleClass");
@@ -53,7 +58,8 @@
 			headerDiv.setAttribute("class", "dr-pnl-h rich-panel-header " + (headerClass==null?"":headerClass));
 			headerDiv.setAttribute("style", ComponentUtil.getHeaderBackgoundImgStyle());
 
-			VpeChildrenInfo headerInfo = new VpeChildrenInfo(headerDiv);
+			// TODO A. Yukhovich please fix it
+			VpeChildrenInfo headerInfo = new VpeChildrenInfo(null/*headerDiv*/);
 			headerInfo.addSourceChild(header);
 			creationData.addChildrenInfo(headerInfo);
 		}
@@ -65,7 +71,8 @@
 		bodyDiv.setAttribute("class", "dr-pnl-b rich-panel-body " + (bodyClass==null?"":bodyClass));
 
 		List<Node> children = ComponentUtil.getChildren(sourceElement, true);
-		VpeChildrenInfo bodyInfo = new VpeChildrenInfo(bodyDiv);
+		// TODO A. Yukhovich please fix it
+		VpeChildrenInfo bodyInfo = new VpeChildrenInfo(null/*bodyDiv*/);
 		for (Node child : children) {
 			bodyInfo.addSourceChild(child);
 		}
@@ -73,4 +80,10 @@
 
 		return creationData;
 	}
+
+	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+			nsIDOMDocument visualDocument) {
+		// TODO Auto-generated method stub
+		return null;
+	}
 }
\ No newline at end of file

Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesSeparatorTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesSeparatorTemplate.java	2007-08-10 08:31:43 UTC (rev 3059)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesSeparatorTemplate.java	2007-08-10 09:09:44 UTC (rev 3060)
@@ -15,6 +15,7 @@
 import org.jboss.tools.vpe.editor.context.VpePageContext;
 import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
 import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.mozilla.interfaces.nsIDOMDocument;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
@@ -81,7 +82,8 @@
 				.createElement(HtmlComponentUtil.HTML_TAG_DIV);
 		Element line = visualDocument
 				.createElement(HtmlComponentUtil.HTML_TAG_DIV);
-		VpeCreationData creationData = new VpeCreationData(separator);
+		// TODO A. Yukhovich please fix it
+		VpeCreationData creationData = new VpeCreationData(null/*separator*/);
 		String width = sourceElement
 				.getAttribute(HtmlComponentUtil.HTML_ATR_WIDTH);
 		String height = sourceElement
@@ -119,6 +121,8 @@
 	/**
 	 * Method for remove attributes in separator
 	 */
+	// TODO A. Yukhovich please fix it
+	/*
 	@Override
 	public void removeAttribute(VpePageContext pageContext,
 			Element sourceElement, Document visualDocument, Node visualNode,
@@ -170,12 +174,15 @@
 			line.removeAttribute(name);
 		}
 	}
+	*/
 
 	/*
 	 * @see com.exadel.vpe.editor.template.VpeAbstractTemplate#setAttribute(com.exadel.vpe.editor.context.VpePageContext,
 	 *      org.w3c.dom.Element, org.w3c.dom.Document, org.w3c.dom.Node,
 	 *      java.lang.Object, java.lang.String, java.lang.String)
 	 */
+	// TODO A. Yukhovich please fix it
+	/*
 	@Override
 	public void setAttribute(VpePageContext pageContext, Element sourceElement,
 			Document visualDocument, Node visualNode, Object data, String name,
@@ -259,6 +266,7 @@
 			line.setAttribute(name, value);
 		}
 	}
+	*/
 
 	/**
 	 * Method add in size extention prefix(default 'px').
@@ -364,4 +372,10 @@
 		newStyle.append((style == null ? "" : style));
 		return newStyle.toString();
 	}
+
+	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+			nsIDOMDocument visualDocument) {
+		// TODO Auto-generated method stub
+		return null;
+	}
 }
\ No newline at end of file

Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesSimpleTogglePanelTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesSimpleTogglePanelTemplate.java	2007-08-10 08:31:43 UTC (rev 3059)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesSimpleTogglePanelTemplate.java	2007-08-10 09:09:44 UTC (rev 3060)
@@ -21,6 +21,7 @@
 import org.jboss.tools.vpe.editor.template.VpeChildrenInfo;
 import org.jboss.tools.vpe.editor.template.VpeCreationData;
 import org.jboss.tools.vpe.editor.template.VpeToggableTemplate;
+import org.mozilla.interfaces.nsIDOMDocument;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
@@ -30,10 +31,13 @@
 	private static Map toggleMap = new HashMap();
 	private Element storedSwitchDiv = null;
 	
+	// TODO A. Yukhovich please fix it
+	/*
 	@Override
 	public boolean isRecreateAtAttrChange(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name, String value) {
 		return true;
 	}
+	*/
 
 	public VpeCreationData create(VpePageContext pageContext, Node sourceNode, Document visualDocument) {
 
@@ -41,7 +45,8 @@
 
 		Element div = visualDocument.createElement("div");
 
-		VpeCreationData creationData = new VpeCreationData(div);
+		// TODO A. Yukhovich please fix it
+		VpeCreationData creationData = new VpeCreationData(null/*div*/);
 
 		ComponentUtil.setCSSLink(pageContext, "simpleTogglePanel/simpleTogglePanel.css", "richFacesSimpleTogglePanel");
 		div.setAttribute("class", "dr-stglpnl rich-stglpanel " + ComponentUtil.getAttribute(sourceElement, "styleClass"));
@@ -74,7 +79,8 @@
 		if(markerFacet==null) {
 			switchDiv.appendChild(visualDocument.createTextNode("" + defaultMarkerCode));
 		} else {
-			VpeChildrenInfo switchInfo = new VpeChildrenInfo(switchDiv);
+			// TODO A. Yukhovich please fix it
+			VpeChildrenInfo switchInfo = new VpeChildrenInfo(null/*switchDiv*/);
 			switchInfo.addSourceChild(markerFacet);
 			creationData.addChildrenInfo(switchInfo);
 		}
@@ -96,7 +102,8 @@
 			td.setAttribute("class", "dr-stglpnl-b rich-stglpanel-body " + ComponentUtil.getAttribute(sourceElement, "bodyClass"));
 
 			List<Node> children = ComponentUtil.getChildren(sourceElement, true);
-			VpeChildrenInfo bodyInfo = new VpeChildrenInfo(td);
+			// TODO A. Yukhovich please fix it
+			VpeChildrenInfo bodyInfo = new VpeChildrenInfo(null/*td*/);
 			for (Node child : children) {
 				bodyInfo.addSourceChild(child);
 			}
@@ -114,7 +121,8 @@
 	 * @param data Object <code>VpeCreationData</code>, built by a method <code>create</code>
 	 */
 	public void validate(VpePageContext pageContext, Node sourceNode, Document visualDocument, VpeCreationData data) {
-		super.validate(pageContext, sourceNode, visualDocument, data);
+		// TODO A. Yukhovich please fix it
+		//super.validate(pageContext, sourceNode, visualDocument, data);
 		if (storedSwitchDiv == null) return;
 		String value = storedSwitchDiv.getAttribute("vpe-user-toggle-id");
 		if ("true".equals(value) || "false".equals(value)) {
@@ -158,4 +166,10 @@
 	public void stopToggling(Node sourceNode) {
 		toggleMap.remove(sourceNode);
 	}
+
+	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+			nsIDOMDocument visualDocument) {
+		// TODO Auto-generated method stub
+		return null;
+	}
 }
\ No newline at end of file

Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesSpacerTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesSpacerTemplate.java	2007-08-10 08:31:43 UTC (rev 3059)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesSpacerTemplate.java	2007-08-10 09:09:44 UTC (rev 3060)
@@ -15,6 +15,7 @@
 import org.jboss.tools.vpe.editor.context.VpePageContext;
 import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
 import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.mozilla.interfaces.nsIDOMDocument;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
@@ -51,7 +52,8 @@
 			img.setAttribute("height", getSize((Element)sourceNode, "height"));
 		}
 
-		VpeCreationData creationData = new VpeCreationData(img);
+		// TODO A. Yukhovich please fix it
+		VpeCreationData creationData = new VpeCreationData(null/*img*/);
 
 		return creationData;
 	}
@@ -65,12 +67,20 @@
 		}
 	}
 
+	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+			nsIDOMDocument visualDocument) {
+		// TODO Auto-generated method stub
+		return null;
+	}
+
 	/**
 	 * 
 	 * @see com.exadel.vpe.editor.template.VpeAbstractTemplate#setAttribute(com.exadel.vpe.editor.context.VpePageContext,
 	 *      org.w3c.dom.Element, org.w3c.dom.Document, org.w3c.dom.Node,
 	 *      java.lang.Object, java.lang.String, java.lang.String)
 	 */
+	// TODO A. Yukhovich please fix it
+	/*
 	@Override
 	public void setAttribute(VpePageContext pageContext, Element sourceElement,
 			Document visualDocument, Node visualNode, Object data, String name,
@@ -83,4 +93,15 @@
 		img.setAttribute("width", getSize(sourceElement, "width"));
 		img.setAttribute("height", getSize(sourceElement, "height"));
 	}
+	*/
+
+	
+	// TODO A. Yukhovich please fix it
+	/*
+	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+			nsIDOMDocument visualDocument) {
+		// TODO Auto-generated method stub
+		return null;
+	}
+	*/
 }
\ No newline at end of file

Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesSubTableTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesSubTableTemplate.java	2007-08-10 08:31:43 UTC (rev 3059)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesSubTableTemplate.java	2007-08-10 09:09:44 UTC (rev 3060)
@@ -18,6 +18,7 @@
 import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
 import org.jboss.tools.vpe.editor.template.VpeChildrenInfo;
 import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.mozilla.interfaces.nsIDOMDocument;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
@@ -30,10 +31,13 @@
 		super();
 	}
 
+	// TODO A. Yukhovich please fix it
+	/*
 	@Override
 	public boolean isRecreateAtAttrChange(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name, String value) {
 		return true;
 	}
+	*/
 
 	/**
 	 * Encode columnGroup
@@ -70,14 +74,16 @@
 
 		if(creationData==null) {
 			// Method was called from create()
-			creationData = new VpeCreationData(tr);			
+			// TODO A. Yukhovich please fix it
+			creationData = new VpeCreationData(null/*tr*/);			
 		} else {
 			// Method was called from dataTable
 			parentVisualNode.appendChild(tr);
 		}
 
 		// Create mapping to Encode body
-		VpeChildrenInfo trInfo = new VpeChildrenInfo(tr);
+		// TODO A. Yukhovich please fix it
+		VpeChildrenInfo trInfo = new VpeChildrenInfo(null/*tr*/);
 		creationData.addChildrenInfo(trInfo);
 		List<Node> children = ComponentUtil.getChildren(sourceElement);
 		for (Node child : children) {
@@ -95,9 +101,11 @@
 					}
 					ComponentUtil.copyAttributes(sourceElement, tr);
 					if(parentVisualNode!=null) {
-						parentVisualNode.appendChild(tr);
+						// TODO A. Yukhovich please fix it
+						parentVisualNode.appendChild(null/*tr*/);
 					}
-					trInfo = new VpeChildrenInfo(tr);
+					// TODO A. Yukhovich please fix it
+					trInfo = new VpeChildrenInfo(null/*tr*/);
 					creationData.addChildrenInfo(trInfo);
 				}
 			}
@@ -181,6 +189,8 @@
 		return null;
 	}
 
+	// TODO A. Yukhovich please fix it
+	/*
 	@Override
 	public void removeAttribute(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name) {
 		((Element)visualNode).removeAttribute(name);
@@ -190,4 +200,11 @@
 	public void setAttribute(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name, String value) {
 		((Element)visualNode).setAttribute(name, value);
 	}
+	*/
+
+	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+			nsIDOMDocument visualDocument) {
+		// TODO Auto-generated method stub
+		return null;
+	}
 }
\ No newline at end of file

Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTabPanelTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTabPanelTemplate.java	2007-08-10 08:31:43 UTC (rev 3059)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTabPanelTemplate.java	2007-08-10 09:09:44 UTC (rev 3060)
@@ -20,6 +20,7 @@
 import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
 import org.jboss.tools.vpe.editor.template.VpeCreationData;
 import org.jboss.tools.vpe.editor.template.VpeToggableTemplate;
+import org.mozilla.interfaces.nsIDOMDocument;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
@@ -28,10 +29,13 @@
 
 	private static Map toggleMap = new HashMap();
 
+	// TODO A. Yukhovich please fix it
+	/*
 	@Override
 	public boolean isRecreateAtAttrChange(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name, String value) {
 		return true;
 	}
+	*/
 
 	public VpeCreationData create(VpePageContext pageContext, Node sourceNode, Document visualDocument) {
 
@@ -39,7 +43,8 @@
 
 		Element table = visualDocument.createElement("table");
 
-		VpeCreationData creationData = new VpeCreationData(table);
+		// TODO A. Yukhovich please fix it
+		VpeCreationData creationData = new VpeCreationData(null/*table*/);
 
 		ComponentUtil.setCSSLink(pageContext, "tabPanel/tabPanel.css", "richFacesTabPanel");
 		table.setAttribute("class", "rich-tabpanel " + ComponentUtil.getAttribute(sourceElement, "styleClass"));
@@ -213,4 +218,10 @@
 	public void stopToggling(Node sourceNode) {
 		toggleMap.remove(sourceNode);
 	}
+
+	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+			nsIDOMDocument visualDocument) {
+		// TODO Auto-generated method stub
+		return null;
+	}
 }
\ No newline at end of file

Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTabTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTabTemplate.java	2007-08-10 08:31:43 UTC (rev 3059)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTabTemplate.java	2007-08-10 09:09:44 UTC (rev 3060)
@@ -17,16 +17,20 @@
 import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
 import org.jboss.tools.vpe.editor.template.VpeChildrenInfo;
 import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.mozilla.interfaces.nsIDOMDocument;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
 
 public class RichFacesTabTemplate extends VpeAbstractTemplate {
 
+	// TODO A. Yukhovich please fix it
+	/*
 	@Override
 	public boolean isRecreateAtAttrChange(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name, String value) {
 		return true;
 	}
+	*/
 
 	/**
 	 * Encode body of tab
@@ -54,7 +58,8 @@
 		Element td = visualDocument.createElement("td");
 
 		if(creationData==null) {
-			creationData = new VpeCreationData(td);
+			// TODO A. Yukhovich please fix it
+			creationData = new VpeCreationData(null/*td*/);
 		} else {
 			parentVisualElement.appendChild(td);
 		}
@@ -81,7 +86,8 @@
 		td.setAttribute("style", ComponentUtil.getAttribute(sourceElement, "contentStyle") + "; " + ComponentUtil.getAttribute(sourceElement, "style"));
 
 		List<Node> children = ComponentUtil.getChildren(sourceElement, true);
-		VpeChildrenInfo bodyInfo = new VpeChildrenInfo(td);
+		// TODO A. Yukhovich please fix it
+		VpeChildrenInfo bodyInfo = new VpeChildrenInfo(null/*td*/);
 		for (Node child : children) {
 			bodyInfo.addSourceChild(child);
 		}
@@ -195,4 +201,10 @@
 		img.setAttribute("height", "1");
 		img.setAttribute("border", "0");
 	}
+
+	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+			nsIDOMDocument visualDocument) {
+		// TODO Auto-generated method stub
+		return null;
+	}
 }
\ No newline at end of file

Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesToggleControlTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesToggleControlTemplate.java	2007-08-10 08:31:43 UTC (rev 3059)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesToggleControlTemplate.java	2007-08-10 09:09:44 UTC (rev 3060)
@@ -26,6 +26,7 @@
 import org.jboss.tools.vpe.editor.template.VpeCreationData;
 import org.jboss.tools.vpe.editor.template.VpeTemplate;
 import org.jboss.tools.vpe.editor.template.VpeToggableTemplate;
+import org.mozilla.interfaces.nsIDOMDocument;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
@@ -36,10 +37,13 @@
 	private static Map toggleMap = new HashMap();
 	private static Element storedSwitchSpan = null;
 
+	// TODO A. Yukhovich please fix it
+	/*
 	@Override
 	public boolean isRecreateAtAttrChange(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name, String value) {
 		return true;
 	}
+	*/
 	
 	public VpeCreationData create(VpePageContext pageContext, Node sourceNode, Document visualDocument) {
 
@@ -47,7 +51,8 @@
 
 		Element span = visualDocument.createElement("span");
 		storedSwitchSpan = span;
-		VpeCreationData creationData = new VpeCreationData(span);
+		// TODO A. Yukhovich please fix it
+		VpeCreationData creationData = new VpeCreationData(null/*span*/);
 
 		String forIds = sourceElement.getAttribute("for");
 		String value = sourceElement.getAttribute("value");
@@ -64,7 +69,8 @@
 		span.setAttribute("vpe-user-toggle-id", (switchToState == null ? "" : switchToState.trim()));
 
 		List<Node> children = ComponentUtil.getChildren(sourceElement);
-		VpeChildrenInfo bodyInfo = new VpeChildrenInfo(span);
+		// TODO A. Yukhovich please fix it
+		VpeChildrenInfo bodyInfo = new VpeChildrenInfo(null/*span*/);
 		//string shoudn't be null, if then it's crash application
 		if(value==null){
 			value="";
@@ -88,7 +94,8 @@
 	 * @param data Object <code>VpeCreationData</code>, built by a method <code>create</code>
 	 */
 	public void validate(VpePageContext pageContext, Node sourceNode, Document visualDocument, VpeCreationData data) {
-		super.validate(pageContext, sourceNode, visualDocument, data);
+		// TODO A. Yukhovich please fix it
+		// super.validate(pageContext, sourceNode, visualDocument, data);
 		if (storedSwitchSpan == null) return;
 		
 		String value = storedSwitchSpan.getAttribute("vpe-user-toggle-id");
@@ -167,4 +174,10 @@
 		toggleMap.remove(sourceNode);
 	}
 
+	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+			nsIDOMDocument visualDocument) {
+		// TODO Auto-generated method stub
+		return null;
+	}
+
 }
\ No newline at end of file

Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTogglePanelTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTogglePanelTemplate.java	2007-08-10 08:31:43 UTC (rev 3059)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTogglePanelTemplate.java	2007-08-10 09:09:44 UTC (rev 3060)
@@ -22,6 +22,7 @@
 import org.jboss.tools.vpe.editor.template.VpeChildrenInfo;
 import org.jboss.tools.vpe.editor.template.VpeCreationData;
 import org.jboss.tools.vpe.editor.template.VpeToggableTemplate;
+import org.mozilla.interfaces.nsIDOMDocument;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
@@ -35,10 +36,13 @@
 	private static Map toggleMap = new HashMap();
 	private Map states = null;
 
+	// TODO A. Yukhovich please fix it
+	/*
 	@Override
 	public boolean isRecreateAtAttrChange(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name, String value) {
 		return true;
 	}
+	*/
 	
 	public VpeCreationData create(VpePageContext pageContext, Node sourceNode, Document visualDocument) {
 
@@ -46,7 +50,8 @@
 
 		Element div = visualDocument.createElement("div");
 
-		VpeCreationData creationData = new VpeCreationData(div);
+		// TODO A. Yukhovich please fix it
+		VpeCreationData creationData = new VpeCreationData(null/*div*/);
 
 		states = getStates(sourceElement);
 		
@@ -63,7 +68,8 @@
 		}
 
 		if(bodyFacet!=null) {
-			VpeChildrenInfo bodyInfo = new VpeChildrenInfo(div);
+			// TODO A. Yukhovich please fix it
+			VpeChildrenInfo bodyInfo = new VpeChildrenInfo(null/*div*/);
 			bodyInfo.addSourceChild(bodyFacet);
 			creationData.addChildrenInfo(bodyInfo);
 		}
@@ -180,4 +186,10 @@
 	public void stopToggling(Node sourceNode) {
 		toggleMap.remove(sourceNode);
 	}
+
+	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+			nsIDOMDocument visualDocument) {
+		// TODO Auto-generated method stub
+		return null;
+	}
 }
\ No newline at end of file

Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesToolBarGroupTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesToolBarGroupTemplate.java	2007-08-10 08:31:43 UTC (rev 3059)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesToolBarGroupTemplate.java	2007-08-10 09:09:44 UTC (rev 3060)
@@ -23,7 +23,9 @@
 import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
 import org.jboss.tools.vpe.editor.template.VpeChildrenInfo;
 import org.jboss.tools.vpe.editor.template.VpeCreationData;
-import org.jboss.tools.vpe.editor.util.MozillaSupports;
+import org.mozilla.interfaces.nsIDOMDocument;
+//TODO A. Yukhovich please fix if
+//import org.jboss.tools.vpe.editor.util.MozillaSupports;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.NamedNodeMap;
@@ -39,10 +41,13 @@
 	
 	public static final String ATTR_LOCATION_RIGHT_VALUE = "right";
 	
+	// TODO A. Yukhovich please fix if
+	/*
 	@Override
 	public boolean isRecreateAtAttrChange(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name, String value) {
 		return true;
 	}
+	*/
 
 	private class SourceToolBarGroupItem {
 		private Node toolBarGroupItem;
@@ -149,13 +154,14 @@
 		
 		if (!sourceNode.getParentNode().getNodeName().endsWith(":" + RichFacesToolBarTemplate.TAG_NAME)) {
 			visualNode = RichFacesToolBarTemplate.createExceptionNode(visualDocument, "Parent should be toolBar");
-			
-			creationData = new VpeCreationData(visualNode);
+			// TODO A. Yukhovich please fix if
+			creationData = new VpeCreationData(null/*visualNode*/);
 		} else if (!RichFacesToolBarTemplate.isValidItemSeparatorName(itemSeparator)) {
 			visualNode = RichFacesToolBarTemplate.createExceptionNode(visualDocument,
 					"Unknown type of separator \"" + itemSeparator + "\"");
 			
-			creationData = new VpeCreationData(visualNode);
+			// TODO A. Yukhovich please fix if
+			creationData = new VpeCreationData(null/*visualNode*/);
 		} else {
 		
 			SourceToolBarGroupItems sourceToolBarGroupItems = new SourceToolBarGroupItems(sourceNode,
@@ -169,7 +175,8 @@
 			Element row = visualDocument.createElement(HtmlComponentUtil.HTML_TAG_TR);
 			row.setAttribute(HtmlComponentUtil.HTML_ATTR_VALIGN, HtmlComponentUtil.HTML_ATTR_VALIGN_MIDDLE_VALUE);
 			
-			creationData = new VpeCreationData(visualNode);
+			// TODO A. Yukhovich please fix if
+			creationData = new VpeCreationData(null/*visualNode*/);
 			
 			Iterator<SourceToolBarGroupItem> iterator = sourceToolBarGroupItems.iterator();
 			while(iterator.hasNext()) {
@@ -184,7 +191,8 @@
 							RichFacesToolBarTemplate.CONTENTSTYLE_ATTR_NAME,
 							HtmlComponentUtil.HTML_STYLE_ATTR, null, null);
 	
-					VpeChildrenInfo childrenInfo = new VpeChildrenInfo(cell);
+					// TODO A. Yukhovich please fix if
+					VpeChildrenInfo childrenInfo = new VpeChildrenInfo(null/*cell*/);
 					creationData.addChildrenInfo(childrenInfo);
 					childrenInfo.addSourceChild(toolBarGroupItem.getToolBarGroupItem());
 				} else {
@@ -197,23 +205,29 @@
 					Element separatorImage = visualDocument.createElement(HtmlComponentUtil.HTML_TAG_IMG);
 					ComponentUtil.setImg(separatorImage, separatorImageUrl);
 					cell.appendChild(separatorImage);
-					MozillaSupports.release(separatorImage);
+					// TODO A. Yukhovich please fix if
+					// MozillaSupports.release(separatorImage);
 				}
 				
 				row.appendChild(cell);
-				MozillaSupports.release(cell);
+				// TODO A. Yukhovich please fix if
+				//MozillaSupports.release(cell);
 			}
 			
 			body.appendChild(row);
-			MozillaSupports.release(row);
+			// TODO A. Yukhovich please fix if
+			// MozillaSupports.release(row);
 			visualNode.appendChild(body);
-			MozillaSupports.release(body);
+			// TODO A. Yukhovich please fix if
+			// MozillaSupports.release(body);
 		}
 		
 		return creationData;
 	}
 	
 
+	// TODO A. Yukhovich please fix if
+	/*
 	@Override
 	public Node getNodeForUptate(VpePageContext pageContext, Node sourceNode,
 			Node visualNode, Object data) {
@@ -235,5 +249,13 @@
 		
 		return parent;
 	}
+	*/
+
+
+	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+			nsIDOMDocument visualDocument) {
+		// TODO Auto-generated method stub
+		return null;
+	}
 }
 

Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesToolBarTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesToolBarTemplate.java	2007-08-10 08:31:43 UTC (rev 3059)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesToolBarTemplate.java	2007-08-10 09:09:44 UTC (rev 3060)
@@ -23,7 +23,9 @@
 import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
 import org.jboss.tools.vpe.editor.template.VpeChildrenInfo;
 import org.jboss.tools.vpe.editor.template.VpeCreationData;
-import org.jboss.tools.vpe.editor.util.MozillaSupports;
+import org.mozilla.interfaces.nsIDOMDocument;
+//TODO A. Yukhovich please fix if
+// import org.jboss.tools.vpe.editor.util.MozillaSupports;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.NamedNodeMap;
@@ -56,10 +58,13 @@
 	static final String WIDTH_ATTR_NAME = "width";
 	static final String HEIGHT_ATTR_NAME = "height";
 
+	// TODO A. Yukhovich please fix if
+	/*
 	@Override
 	public boolean isRecreateAtAttrChange(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name, String value) {
 		return true;
 	}
+	*/
 
 	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
 			Document visualDocument) {
@@ -71,8 +76,8 @@
 		if (!isValidItemSeparatorName(itemSeparator)) {
 			visualNode = createExceptionNode(visualDocument,
 					"Unknown type of separator \"" + itemSeparator + "\"");
-			
-			creationData = new VpeCreationData(visualNode);
+			// TODO A. Yukhovich please fix it
+			creationData = new VpeCreationData(null/*visualNode*/);
 		} else {
 			SourceToolBarItems sourceToolBarItems = new SourceToolBarItems(sourceNode, itemSeparator);
 			String itemSeparatorImageUrl = getSeparatorImageUrlString(sourceToolBarItems.getItemSeparator());
@@ -96,7 +101,8 @@
 					STYLE_ATTR_NAME,
 					HtmlComponentUtil.HTML_STYLE_ATTR, style, style);
 	
-			creationData = new VpeCreationData(visualNode);
+			// TODO A. Yukhovich please fix if
+			creationData = new VpeCreationData(null/*visualNode*/);
 			
 			Element body = null, row = null, cell = null;
 	
@@ -119,7 +125,8 @@
 							toolBarItem.isToolBarGroupItem() ? "padding: 0px 0px 0px 0px;" : null,
 							toolBarItem.isToolBarGroupItem() ? "padding: 0px 0px 0px 0px;" : null);
 					
-					VpeChildrenInfo childrenInfo = new VpeChildrenInfo(cell);
+					// TODO A. Yukhovich please fix if
+					VpeChildrenInfo childrenInfo = new VpeChildrenInfo(null/*cell*/);
 					creationData.addChildrenInfo(childrenInfo);
 					childrenInfo.addSourceChild(toolBarItem.getToolBarItem());
 				} else {
@@ -132,19 +139,22 @@
 						Element separatorImage = visualDocument.createElement(HtmlComponentUtil.HTML_TAG_IMG);
 						ComponentUtil.setImg(separatorImage, itemSeparatorImageUrl);
 						cell.appendChild(separatorImage);
-						MozillaSupports.release(separatorImage);
+						// TODO A. Yukhovich please fix if
+						// MozillaSupports.release(separatorImage);
 					}
 				}
 				
 				row.appendChild(cell);
-				MozillaSupports.release(cell);
+				// TODO A. Yukhovich please fix if
+				// MozillaSupports.release(cell);
 			}
 	
 			// Empty column
 			cell = visualDocument.createElement(HtmlComponentUtil.HTML_TAG_TD);
 			cell.setAttribute(HtmlComponentUtil.HTML_WIDTH_ATTR, "100%");
 			row.appendChild(cell);
-			MozillaSupports.release(cell);
+			// TODO A. Yukhovich please fix if
+			// MozillaSupports.release(cell);
 	
 			iterator = sourceToolBarItems.getRightItemsIterator();
 			while (iterator.hasNext()) {
@@ -160,7 +170,8 @@
 							toolBarItem.isToolBarGroupItem() ? "padding: 0px;" : null,
 							toolBarItem.isToolBarGroupItem() ? "padding: 0px;" : null);
 					
-					VpeChildrenInfo childrenInfo = new VpeChildrenInfo(cell);
+					// TODO A. Yukhovich please fix if
+					VpeChildrenInfo childrenInfo = new VpeChildrenInfo(null/*cell*/);
 					creationData.addChildrenInfo(childrenInfo);
 					childrenInfo.addSourceChild(toolBarItem.getToolBarItem());
 				} else {
@@ -173,18 +184,22 @@
 						Element separatorImage = visualDocument.createElement(HtmlComponentUtil.HTML_TAG_IMG);
 						ComponentUtil.setImg(separatorImage, itemSeparatorImageUrl);
 						cell.appendChild(separatorImage);
-						MozillaSupports.release(separatorImage);
+						// TODO A. Yukhovich please fix if
+						// MozillaSupports.release(separatorImage);
 					}
 				}
 				
 				row.appendChild(cell);
-				MozillaSupports.release(cell);
+				// TODO A. Yukhovich please fix if
+				// MozillaSupports.release(cell);
 			}
 			
 			body.appendChild(row);
-			MozillaSupports.release(row);
+			// TODO A. Yukhovich please fix if
+			// MozillaSupports.release(row);
 			visualNode.appendChild(body);
-			MozillaSupports.release(body);
+			// TODO A. Yukhovich please fix if
+			// MozillaSupports.release(body);
 		}
 		
 		return creationData;
@@ -196,7 +211,8 @@
 		visualNode.setAttribute(HtmlComponentUtil.HTML_STYLE_ATTR, EXCEPTION_ATTR_STYLE_VALUE);
 		Text text = visualDocument.createTextNode(message);
 		visualNode.appendChild(text);
-		MozillaSupports.release(text);
+		// TODO A. Yukhovich please fix if
+		// MozillaSupports.release(text);
 		
 		return visualNode;
 	}
@@ -497,4 +513,10 @@
 			return itemSeparator;
 		}
 	}
+
+	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+			nsIDOMDocument visualDocument) {
+		// TODO Auto-generated method stub
+		return null;
+	}
 }
\ No newline at end of file

Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTreeNodeTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTreeNodeTemplate.java	2007-08-10 08:31:43 UTC (rev 3059)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTreeNodeTemplate.java	2007-08-10 09:09:44 UTC (rev 3060)
@@ -18,6 +18,7 @@
 import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
 import org.jboss.tools.vpe.editor.template.VpeChildrenInfo;
 import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.mozilla.interfaces.nsIDOMDocument;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
@@ -81,7 +82,8 @@
 		Element tableRow = visualDocument
 				.createElement(HtmlComponentUtil.HTML_TAG_TR);
 		addAttributeToTableNode((Element) sourceNode, tableRow);
-		VpeCreationData vpeCreationData = new VpeCreationData(tableRow);
+		// TODO A. Yukhovich please fix it
+		VpeCreationData vpeCreationData = new VpeCreationData(null/*tableRow*/);
 		createBasicTree(pageContext, visualDocument, tableRow, sourceNode,
 				vpeCreationData);
 		return vpeCreationData;
@@ -204,7 +206,8 @@
 				.createElement(HtmlComponentUtil.HTML_TAG_TD);
 		addBasicNadeTitleAttributes(nodeTitle);
 		// Create mapping to Encode body
-		VpeChildrenInfo tdInfo = new VpeChildrenInfo(nodeTitle);
+		// TODO A. Yukhovich please fix it
+		VpeChildrenInfo tdInfo = new VpeChildrenInfo(null/*nodeTitle*/);
 
 		// Create mapping to Encode body
 		List<Node> children = ComponentUtil.getChildren((Element) sourceNode,
@@ -226,15 +229,17 @@
 				STYLE_CLASS_FOR_NODE_TITLE);
 	}
 
+	// TODO A. Yukhovich please fix it
+	/*
 	@Override
 	public void setAttribute(VpePageContext pageContext, Element sourceElement,
 			Document visualDocument, Node visualNode, Object data, String name,
 			String value) {
-		/*
-		 * processed only next attributes iconExpanded and icon, becouse tree
-		 * allways shows as expanded and information is it leaf or not contains
-		 * in model
-		 */
+		//
+		// processed only next attributes iconExpanded and icon, becouse tree
+		// allways shows as expanded and information is it leaf or not contains
+		// in model
+		//
 		if (NODE_ICON_EXPANDED_ATTR_NAME.equalsIgnoreCase(name)) {
 			Element expandedIconCell = (Element) visualNode.getChildNodes()
 					.item(0);
@@ -263,11 +268,11 @@
 	public void removeAttribute(VpePageContext pageContext,
 			Element sourceElement, Document visualDocument, Node visualNode,
 			Object data, String name) {
-		/*
-		 * processed only next attributes iconExpanded and icon, becouse tree
-		 * allways shows as expanded and information is it leaf or not contains
-		 * in model
-		 */
+		//
+		// processed only next attributes iconExpanded and icon, becouse tree
+		// allways shows as expanded and information is it leaf or not contains
+		// in model
+		//
 		String showLinesParam = ((Element) sourceElement.getParentNode())
 				.getAttribute(RichFacesTreeTemplate.SHOW_LINES_ATTR_NAME);
 		boolean showLinesValue = true;
@@ -324,6 +329,7 @@
 			img.setAttribute(ICON_PARAM_NAME, NODE_ICON_LEAF_ATTR_NAME);
 		}
 	}
+	*/
 
 	/**
 	 * 
@@ -356,4 +362,10 @@
 		img.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR,
 				TREE_TABLE_PICTURE_STYLE_CLASS_NAME);
 	}
+
+	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+			nsIDOMDocument visualDocument) {
+		// TODO Auto-generated method stub
+		return null;
+	}
 }

Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTreeTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTreeTemplate.java	2007-08-10 08:31:43 UTC (rev 3059)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTreeTemplate.java	2007-08-10 09:09:44 UTC (rev 3060)
@@ -20,7 +20,8 @@
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
 import org.w3c.dom.NodeList;
-
+import org.mozilla.interfaces.nsIDOMDocument;
+import org.mozilla.interfaces.nsIDOMNode;
 /**
  * Create template for rich:tree element.
  * 
@@ -75,7 +76,11 @@
 		addBasicTreeAttributes(visualElement);
 		treeRow.appendChild(treeCell);
 		visualElement.appendChild(treeRow);
-		VpeCreationData vpeCreationData = new VpeCreationData(visualElement);
+		
+		// TODO A. Yukhovich please fix it
+		nsIDOMNode domNode = null;
+		VpeCreationData vpeCreationData = new VpeCreationData(domNode/*visualElement*/);
+		
 		parseTree(pageContext, sourceNode, visualDocument, vpeCreationData,
 				treeCell);
 		setStylesAttributesToTree(visualElement, (Element) sourceNode);
@@ -160,8 +165,9 @@
 	 */
 	public void validate(VpePageContext pageContext, Node sourceNode,
 			Document visualDocument, VpeCreationData data) {
-		super.validate(pageContext, sourceNode, visualDocument, data);
-		revertTableRows(data.getNode());
+		// TODO A. Yukhovich please fix it
+		//super.validate(pageContext, sourceNode, visualDocument, data);
+		//revertTableRows(data.getNode());
 	}
 
 	/**
@@ -286,7 +292,8 @@
 				if (tree == null) {
 
 					tree = createBasicTree(visualDocument);
-					vpeChildrenInfo = new VpeChildrenInfo(tree);
+					// TODO A. Yukhovich please fix it
+//					vpeChildrenInfo = new VpeChildrenInfo(tree);
 					vpeCreationData.addChildrenInfo(vpeChildrenInfo);
 					vpeChildrenInfo.addSourceChild(element);
 					childLast = tree;
@@ -295,7 +302,8 @@
 
 					childTree = createBasicTree(visualDocument);
 					appendChildTree(childLast, childTree, visualDocument);
-					vpeChildrenInfo = new VpeChildrenInfo(childTree);
+					// TODO A. Yukhovich please fix it
+					//vpeChildrenInfo = new VpeChildrenInfo(childTree);
 					vpeCreationData.addChildrenInfo(vpeChildrenInfo);
 					vpeChildrenInfo.addSourceChild(element);
 					childLast = childTree;
@@ -330,6 +338,8 @@
 		parentNode.appendChild(tr);
 	}
 
+	// TODO A. Yukhovich please fix it
+	/*
 	@Override
 	public void setAttribute(VpePageContext pageContext, Element sourceElement,
 			Document visualDocument, Node visualNode, Object data, String name,
@@ -350,7 +360,10 @@
 			correctImage(pageContext, sourceElement, visualNode);
 		}
 	}
-
+	*/
+	
+	// TODO A. Yukhovich please fix it
+	/*
 	@Override
 	public void removeAttribute(VpePageContext pageContext,
 			Element sourceElement, Document visualDocument, Node visualNode,
@@ -369,7 +382,8 @@
 			correctImage(pageContext, sourceElement, visualNode);
 		}
 	}
-
+	*/
+	
 	/**
 	 * Create simple tree node attribute.Used for creating more complex trees.
 	 * 
@@ -401,4 +415,10 @@
 		tree.setAttribute(HtmlComponentUtil.HTML_BORDER_ATTR,
 				TREE_TABLE_ATR_BORDER_VALUE);
 	}
+
+	public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+			nsIDOMDocument visualDocument) {
+		// TODO Auto-generated method stub
+		return null;
+	}
 }




More information about the jbosstools-commits mailing list