Author: mareshkau
Date: 2008-03-03 05:52:13 -0500 (Mon, 03 Mar 2008)
New Revision: 6667
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-675, cashing of templates was removed, because
it's unstable for now.
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java 2008-03-03
10:09:14 UTC (rev 6666)
+++
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java 2008-03-03
10:52:13 UTC (rev 6667)
@@ -385,18 +385,18 @@
VpeCreationData creationData = null;
// FIX FOR JBIDE-1568, added by Max Areshkau
try {
- if(getPageContext().isCreationDataExistInCash(sourceNode)) {
+// if(getPageContext().isCreationDataExistInCash(sourceNode)) {
- creationData =
getPageContext().getVpeCreationDataFromCash(sourceNode).createHashCopy();
- } else {
+// creationData =
getPageContext().getVpeCreationDataFromCash(sourceNode).createHashCopy();
+// } else {
creationData = template.create(getPageContext(), sourceNode,
getVisualDocument());
- if(creationData.getNode()!=null) {
-
- getPageContext().addCreationDataToCash(sourceNode,
creationData.createHashCopy());
-
- }
- }
+// if(creationData.getNode()!=null) {
+//
+// getPageContext().addCreationDataToCash(sourceNode,
creationData.createHashCopy());
+//
+// }
+// }
} catch (XPCOMException ex) {
VpePlugin.getPluginLog().logError(ex);
VpeTemplate defTemplate = templateManager.getDefTemplate();