diff options
| author | Vikas Chandra | 2021-10-28 08:28:34 +0000 |
|---|---|---|
| committer | Vikas Chandra | 2021-12-20 16:22:43 +0000 |
| commit | 3298172ae60789206100504d30ca95e834cb128a (patch) | |
| tree | 2b9a15bad8b7baff06f83d488ef6d512bdfd44bc | |
| parent | 018c33671df87644d628fafb9833519013fcb53e (diff) | |
| download | eclipse.pde.ui-3298172ae60789206100504d30ca95e834cb128a.tar.gz eclipse.pde.ui-3298172ae60789206100504d30ca95e834cb128a.tar.xz eclipse.pde.ui-3298172ae60789206100504d30ca95e834cb128a.zip | |
Bug 546241 - [Category Editor] Show names instead of the ID I20211221-0620I20211220-1820
Change-Id: Ie1bc81eebea58cb7ad47ddbb5bc85b226e5ac303
Signed-off-by: Vikas Chandra <Vikas.Chandra@in.ibm.com>
Reviewed-on: https://git.eclipse.org/r/c/pde/eclipse.pde.ui/+/187074
| -rw-r--r-- | ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/category/CategoryLabelProvider.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/category/CategoryLabelProvider.java b/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/category/CategoryLabelProvider.java index a5eea1c888..f6aaa9794d 100644 --- a/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/category/CategoryLabelProvider.java +++ b/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/category/CategoryLabelProvider.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2013, 2016 EclipseSource and others. + * Copyright (c) 2013, 2021 EclipseSource and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 @@ -74,7 +74,7 @@ class CategoryLabelProvider extends LabelProvider { @Override public String getText(Object element) { if (element instanceof ISiteCategoryDefinition) - return ((ISiteCategoryDefinition) element).getName(); + return ((ISiteCategoryDefinition) element).getLabel(); if (element instanceof SiteCategoryDefinitionAdapter) { return getText(((SiteCategoryDefinitionAdapter) element).category); } |
