aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim Jongman2012-11-06 15:44:09 (EST)
committerPaul Webster2012-11-06 15:44:09 (EST)
commit8ebbfa43bb1795cd3c7eeec6a0491f2c4a6140a7 (patch)
tree4b5bb04a9ad4778f279bfc9c28ba1b8efed263db
parent7f20fdb1be1922ca600237b18c6ab39484fd2552 (diff)
downloadeclipse.platform.ui-8ebbfa43bb1795cd3c7eeec6a0491f2c4a6140a7.zip
eclipse.platform.ui-8ebbfa43bb1795cd3c7eeec6a0491f2c4a6140a7.tar.gz
eclipse.platform.ui-8ebbfa43bb1795cd3c7eeec6a0491f2c4a6140a7.tar.bz2
Bug 381585 - Part switcher in PartStack shows only name of i18n bundle
Get the localized label.
-rw-r--r--bundles/org.eclipse.e4.ui.workbench.renderers.swt/META-INF/MANIFEST.MF2
-rw-r--r--bundles/org.eclipse.e4.ui.workbench.renderers.swt/pom.xml2
-rw-r--r--bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/internal/workbench/renderers/swt/BasicPartList.java6
3 files changed, 5 insertions, 5 deletions
diff --git a/bundles/org.eclipse.e4.ui.workbench.renderers.swt/META-INF/MANIFEST.MF b/bundles/org.eclipse.e4.ui.workbench.renderers.swt/META-INF/MANIFEST.MF
index 5b778af..83310c7 100644
--- a/bundles/org.eclipse.e4.ui.workbench.renderers.swt/META-INF/MANIFEST.MF
+++ b/bundles/org.eclipse.e4.ui.workbench.renderers.swt/META-INF/MANIFEST.MF
@@ -1,7 +1,7 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-SymbolicName: org.eclipse.e4.ui.workbench.renderers.swt;singleton:=true
-Bundle-Version: 0.10.2.qualifier
+Bundle-Version: 0.10.3.qualifier
Bundle-Name: %pluginName
Bundle-Vendor: %providerName
Bundle-Localization: plugin
diff --git a/bundles/org.eclipse.e4.ui.workbench.renderers.swt/pom.xml b/bundles/org.eclipse.e4.ui.workbench.renderers.swt/pom.xml
index 7790a3e..e7c872b 100644
--- a/bundles/org.eclipse.e4.ui.workbench.renderers.swt/pom.xml
+++ b/bundles/org.eclipse.e4.ui.workbench.renderers.swt/pom.xml
@@ -21,6 +21,6 @@
</parent>
<groupId>eclipse.platform.ui</groupId>
<artifactId>org.eclipse.e4.ui.workbench.renderers.swt</artifactId>
- <version>0.10.2-SNAPSHOT</version>
+ <version>0.10.3-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
</project>
diff --git a/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/internal/workbench/renderers/swt/BasicPartList.java b/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/internal/workbench/renderers/swt/BasicPartList.java
index 1fdd6d5..5f27a21 100644
--- a/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/internal/workbench/renderers/swt/BasicPartList.java
+++ b/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/internal/workbench/renderers/swt/BasicPartList.java
@@ -46,9 +46,9 @@ public class BasicPartList extends AbstractTableInformationControl {
public String getText(Object element) {
if (element instanceof MDirtyable
&& ((MDirtyable) element).isDirty()) {
- return "*" + ((MUILabel) element).getLabel(); //$NON-NLS-1$
+ return "*" + ((MUILabel) element).getLocalizedLabel(); //$NON-NLS-1$
}
- return ((MUILabel) element).getLabel();
+ return ((MUILabel) element).getLocalizedLabel();
}
public Image getImage(Object element) {
@@ -60,7 +60,7 @@ public class BasicPartList extends AbstractTableInformationControl {
}
public String getToolTipText(Object element) {
- return ((MUILabel) element).getTooltip();
+ return ((MUILabel) element).getLocalizedTooltip();
}
public boolean useNativeToolTip(Object object) {