mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
215960: Apply fix contributed by Mark Espiritu (VaST Systems)
This commit is contained in:
parent
1c7064167a
commit
fd1c9d4e28
1 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
@ -209,14 +210,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);
|
||||
|
|
Loading…
Add table
Reference in a new issue