Bug 369247 [Compatibility] view icon searched in wrong plug-in
Change the editors to use the contributor's name instead of the
namespace identifier.
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/e4/compatibility/CompatibilityEditor.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/e4/compatibility/CompatibilityEditor.java
index 4f97b8d..96da4e0 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/e4/compatibility/CompatibilityEditor.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/e4/compatibility/CompatibilityEditor.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2010, 2011 IBM Corporation and others.
+ * Copyright (c) 2010, 2012 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -103,7 +103,7 @@
String iconURI = element.getAttribute(IWorkbenchRegistryConstants.ATT_ICON);
if (iconURI != null && !iconURI.startsWith("platform:/plugin/")) { //$NON-NLS-1$
StringBuilder builder = new StringBuilder("platform:/plugin/"); //$NON-NLS-1$
- builder.append(element.getNamespaceIdentifier()).append('/');
+ builder.append(element.getContributor().getName()).append('/');
// FIXME: need to get rid of $nl$ properly
// this can be done with FileLocator