Author: sdzmitrovich
Date: 2008-04-17 09:57:43 -0400 (Thu, 17 Apr 2008)
New Revision: 7574
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpePanelGridCreator.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-2002
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpePanelGridCreator.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpePanelGridCreator.java 2008-04-17
13:40:44 UTC (rev 7573)
+++
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpePanelGridCreator.java 2008-04-17
13:57:43 UTC (rev 7574)
@@ -204,12 +204,21 @@
}
}
+ nsIDOMElement div = visualDocument.createElement(HTML.TAG_DIV);
+ nsIDOMElement selectionTable = visualDocument
+ .createElement(HTML.TAG_TABLE);
+ nsIDOMElement tr = visualDocument.createElement(HTML.TAG_TR);
+ nsIDOMElement td = visualDocument.createElement(HTML.TAG_TD);
+
+ td.appendChild(div);
+ tr.appendChild(td);
+ selectionTable.appendChild(tr);
+
nsIDOMElement visualTable = visualDocument
.createElement(HTML.TAG_TABLE);
- nsIDOMElement div = visualDocument
- .createElement(HTML.TAG_DIV);
- VpeCreatorInfo creatorInfo = new VpeCreatorInfo(div);
+ VpeCreatorInfo creatorInfo = new VpeCreatorInfo(selectionTable);
+
if (propertyCreators != null) {
for (int i = 0; i < propertyCreators.size(); i++) {
VpeCreator creator = (VpeCreator) propertyCreators.get(i);