improved PHP parser
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / externaltools / internal / registry / ExternalToolVariableRegistry.java
index a13d06f..bd450ba 100644 (file)
@@ -5,7 +5,7 @@ Copyright (c) 2002 IBM Corp. and others. All rights reserved.
 This file is made available under the terms of the Common Public License v1.0
 which accompanies this distribution, and is available at
 http://www.eclipse.org/legal/cpl-v10.html
+�
 Contributors:
 **********************************************************************/
 
@@ -17,7 +17,7 @@ import net.sourceforge.phpdt.externaltools.model.IExternalToolConstants;
 import org.eclipse.core.runtime.IConfigurationElement;
 import org.eclipse.core.runtime.IExtension;
 import org.eclipse.core.runtime.IExtensionPoint;
-import org.eclipse.core.runtime.IPluginRegistry;
+import org.eclipse.core.runtime.IExtensionRegistry;
 import org.eclipse.core.runtime.Platform;
 
 /**
@@ -94,7 +94,8 @@ public abstract class ExternalToolVariableRegistry {
         */
        private void loadVariables() {
                variables = new HashMap();
-               IPluginRegistry registry = Platform.getPluginRegistry();
+               IExtensionRegistry registry= Platform.getExtensionRegistry();
+//             IPluginRegistry registry = Platform.getPluginRegistry();
                IExtensionPoint point = registry.getExtensionPoint(IExternalToolConstants.PLUGIN_ID, extensionPointId);
                if (point != null) {
                        IExtension[] extensions = point.getExtensions();