Author: dmaliarevich
Date: 2010-07-20 10:21:33 -0400 (Tue, 20 Jul 2010)
New Revision: 23596
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/wizards/ExportUnknownTagsTemplatesWizardPage.java
Log:
https://jira.jboss.org/browse/JBIDE-6631 , only templates from the preference page will be
exported.
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/wizards/ExportUnknownTagsTemplatesWizardPage.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/wizards/ExportUnknownTagsTemplatesWizardPage.java 2010-07-20
14:08:18 UTC (rev 23595)
+++
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/wizards/ExportUnknownTagsTemplatesWizardPage.java 2010-07-20
14:21:33 UTC (rev 23596)
@@ -153,9 +153,11 @@
}
public boolean finish() {
- List<VpeAnyData> templates =
VpeTemplateManager.getInstance().getAnyTemplates();
IPath path = new Path(pathString);
- VpeTemplateManager.getInstance().setAnyTemplates(templates, path);
+ /*
+ * Export the current list to the specified location.
+ */
+ VpeTemplateManager.getInstance().setAnyTemplates(tagsList, path);
return true;
}