aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorszarnekow2009-03-11 11:53:35 (EDT)
committersefftinge2009-03-11 11:53:35 (EDT)
commita586da6a55343f99be0b47da97c8fb3960345020 (patch)
treebe14317051c7d28479b003c221316b70b4cce331
parentc157df8025f3b7c89ca762928d62039ad55a30df (diff)
downloadorg.eclipse.xtext-a586da6a55343f99be0b47da97c8fb3960345020.zip
org.eclipse.xtext-a586da6a55343f99be0b47da97c8fb3960345020.tar.gz
org.eclipse.xtext-a586da6a55343f99be0b47da97c8fb3960345020.tar.bz2
Fix: Manifest is missing Activator (https://bugs.eclipse.org/bugs/show_bug.cgi?id=268128)
Fix: LabelProvider uses eClass.getName() as default instead of getClass().getName()
-rw-r--r--plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/DefaultLabelProvider.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/DefaultLabelProvider.java b/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/DefaultLabelProvider.java
index 95f0ae0..7fd0930 100644
--- a/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/DefaultLabelProvider.java
+++ b/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/DefaultLabelProvider.java
@@ -11,8 +11,8 @@ import org.eclipse.jface.viewers.LabelProvider;
* @author Sven Efftinge - Initial contribution and API
* @author Peter Friese - Implementation
*/
-public class DefaultLabelProvider extends LabelProvider implements org.eclipse.jface.viewers.ILabelProvider {
-
+public class DefaultLabelProvider extends LabelProvider {
+
@Override
public String getText(Object object) {
if (object != null) {
@@ -26,7 +26,7 @@ public class DefaultLabelProvider extends LabelProvider implements org.eclipse.j
return value.toString();
}
}
- return (object.getClass().getName());
+ return eClass.getName();
}
return "<unknown>";
}