Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Ferguson2008-02-04 04:52:58 -0500
committerAndrew Ferguson2008-02-04 04:52:58 -0500
commit5a7960446ccc9980b3a749983c97e037a53e9009 (patch)
tree79c9bd6312da876dfededa145b4e9aa4a85a4e58
parentc7597918025542b741333e907779e4f70fb9b678 (diff)
downloadorg.eclipse.cdt-5a7960446ccc9980b3a749983c97e037a53e9009.tar.gz
org.eclipse.cdt-5a7960446ccc9980b3a749983c97e037a53e9009.tar.xz
org.eclipse.cdt-5a7960446ccc9980b3a749983c97e037a53e9009.zip
215960: Apply fix contributed by Mark Espiritu (VaST Systems)
-rw-r--r--core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/TemplateEngine.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/TemplateEngine.java b/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/TemplateEngine.java
index 3022faf78e..0287ae53ae 100644
--- a/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/TemplateEngine.java
+++ b/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/TemplateEngine.java
@@ -6,7 +6,8 @@
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
- * Bala Torati (Symbian) - Initial API and implementation
+ * Bala Torati (Symbian) - Initial API and implementation
+ * Mark Espiritu (VaST Systems) - bug 215960
*******************************************************************************/
package org.eclipse.cdt.core.templateengine;
@@ -212,14 +213,14 @@ public class TemplateEngine {
String projectType = null;
String filterPattern = null;
boolean isCategory = false;
- Object /*IPagesAfterTemplateSelectionProvider*/ extraPagesProvider = null;
-
+
IExtension[] extensions = Platform.getExtensionRegistry().getExtensionPoint(TEMPLATES_EXTENSION_ID).getExtensions();
for(int i=0; i<extensions.length; i++) {
IExtension extension = extensions[i];
IConfigurationElement[] configElements = extension.getConfigurationElements();
pluginId = extension.getNamespaceIdentifier(); // Plug-in id of the extending plug-in.
for(int j=0; j<configElements.length; j++) {
+ Object /*IPagesAfterTemplateSelectionProvider*/ extraPagesProvider = null;
IConfigurationElement config = configElements[j];
templateId = config.getAttribute(TemplateEngineHelper.ID);
location = config.getAttribute(TemplateEngineHelper.LOCATION);

Back to the top