Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/uml/tools/org.eclipse.papyrus.uml.tools/src/org/eclipse/papyrus/uml/tools/providers/CustomizableDelegatingItemLabelProvider.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/uml/tools/org.eclipse.papyrus.uml.tools/src/org/eclipse/papyrus/uml/tools/providers/CustomizableDelegatingItemLabelProvider.java b/plugins/uml/tools/org.eclipse.papyrus.uml.tools/src/org/eclipse/papyrus/uml/tools/providers/CustomizableDelegatingItemLabelProvider.java
index 8ac70ed3759..10bb069cfbd 100644
--- a/plugins/uml/tools/org.eclipse.papyrus.uml.tools/src/org/eclipse/papyrus/uml/tools/providers/CustomizableDelegatingItemLabelProvider.java
+++ b/plugins/uml/tools/org.eclipse.papyrus.uml.tools/src/org/eclipse/papyrus/uml/tools/providers/CustomizableDelegatingItemLabelProvider.java
@@ -324,7 +324,9 @@ public class CustomizableDelegatingItemLabelProvider implements IItemLabelProvid
result = SEPARATOR_COLON;
break;
case QUALIFY_NAME:
- result = ((NamedElement) element).getQualifiedName();
+ if (element instanceof NamedElement && null != ((NamedElement) element).getQualifiedName()) {
+ result = ((NamedElement) element).getQualifiedName();
+ }
break;
default:

Back to the top