RC2 compatibility
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / externaltools / internal / registry / ExternalToolVariableRegistry.java
index a13d06f..978883d 100644 (file)
@@ -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();