summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorLars Vogel2013-02-15 03:44:08 (EST)
committer Dani Megert2013-02-15 03:45:08 (EST)
commit8d7e0388bce812c63b73903d18c6022c519c74d9 (patch)
tree02ca23cf975403aa6e109b194cc5cf0058b05ff6
parenta4d83b446827e7b8037789600292e6fd7cfe1423 (diff)
downloadeclipse.platform.ui-8d7e0388bce812c63b73903d18c6022c519c74d9.zip
eclipse.platform.ui-8d7e0388bce812c63b73903d18c6022c519c74d9.tar.gz
eclipse.platform.ui-8d7e0388bce812c63b73903d18c6022c519c74d9.tar.bz2
Fixed bug 400714: Replace deprecated API usage in
WorkbenchPlugin#createExtension
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPlugin.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPlugin.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPlugin.java
index 03c0b51..c33698f 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPlugin.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPlugin.java
@@ -7,6 +7,7 @@
*
* Contributors:
* IBM Corporation - initial API and implementation
+ * Lars Vogel <Lars.Vogel@gmail.com> - Replace deprecated API usage in WorkbenchPlugin#createExtension - http://bugs.eclipse.org/400714
*******************************************************************************/
package org.eclipse.ui.internal;
@@ -260,8 +261,7 @@ public class WorkbenchPlugin extends AbstractUIPlugin {
try {
// If plugin has been loaded create extension.
// Otherwise, show busy cursor then create extension.
- if (BundleUtility.isActivated(element.getDeclaringExtension()
- .getNamespace())) {
+ if (BundleUtility.isActivated(element.getDeclaringExtension().getNamespaceIdentifier())) {
return element.createExecutableExtension(classAttribute);
}
final Object[] ret = new Object[1];