Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Swanson2004-05-05 04:37:34 +0000
committerDarin Swanson2004-05-05 04:37:34 +0000
commit315f04e8330e00ee5249950d9a3f3ef884438b7f (patch)
treeca8cbb3fa86f11f0cc8bcb714cca4a5dcd18d6f3 /org.eclipse.core.variables/src/org/eclipse/core/internal
parentcba19eb2b5d8f7987cf6dbaf6ffea24b58627481 (diff)
downloadeclipse.platform.debug-315f04e8330e00ee5249950d9a3f3ef884438b7f.tar.gz
eclipse.platform.debug-315f04e8330e00ee5249950d9a3f3ef884438b7f.tar.xz
eclipse.platform.debug-315f04e8330e00ee5249950d9a3f3ef884438b7f.zip
Bug 60364 - debug used deprecated runtime code
Diffstat (limited to 'org.eclipse.core.variables/src/org/eclipse/core/internal')
-rw-r--r--org.eclipse.core.variables/src/org/eclipse/core/internal/variables/StringVariableManager.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.core.variables/src/org/eclipse/core/internal/variables/StringVariableManager.java b/org.eclipse.core.variables/src/org/eclipse/core/internal/variables/StringVariableManager.java
index 41e66ddd8..4c0241d9d 100644
--- a/org.eclipse.core.variables/src/org/eclipse/core/internal/variables/StringVariableManager.java
+++ b/org.eclipse.core.variables/src/org/eclipse/core/internal/variables/StringVariableManager.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
@@ -203,7 +203,7 @@ public class StringVariableManager implements IStringVariableManager {
* Loads contributed dynamic variables
*/
private void loadDynamicVariables() {
- IExtensionPoint point= VariablesPlugin.getDefault().getDescriptor().getExtensionPoint(EXTENSION_POINT_DYNAMIC_VARIABLES);
+ IExtensionPoint point = Platform.getExtensionRegistry().getExtensionPoint(VariablesPlugin.PI_CORE_VARIABLES, EXTENSION_POINT_DYNAMIC_VARIABLES);
IConfigurationElement elements[]= point.getConfigurationElements();
for (int i = 0; i < elements.length; i++) {
IConfigurationElement element = elements[i];
@@ -271,7 +271,7 @@ public class StringVariableManager implements IStringVariableManager {
* merged with existing persisted values.
*/
private void loadContributedValueVariables() {
- IExtensionPoint point= VariablesPlugin.getDefault().getDescriptor().getExtensionPoint(EXTENSION_POINT_VALUE_VARIABLES);
+ IExtensionPoint point = Platform.getExtensionRegistry().getExtensionPoint(VariablesPlugin.PI_CORE_VARIABLES, EXTENSION_POINT_VALUE_VARIABLES);
IConfigurationElement elements[]= point.getConfigurationElements();
for (int i = 0; i < elements.length; i++) {
IConfigurationElement element = elements[i];

Back to the top