From 5f170c50e8830db0bedb33de8748c905b5bca8af Mon Sep 17 00:00:00 2001 From: eparovyshnaya Date: Tue, 6 Feb 2024 12:42:48 +0300 Subject: [PATCH] Complete rendering for Signature Attribute #1277 --- .../edit/providers/SignatureAttributeItemProvider.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bundles/org.eclipse.passage.lic.licenses.edit/src-gen/org/eclipse/passage/lic/licenses/edit/providers/SignatureAttributeItemProvider.java b/bundles/org.eclipse.passage.lic.licenses.edit/src-gen/org/eclipse/passage/lic/licenses/edit/providers/SignatureAttributeItemProvider.java index 445689592..fb932bbb6 100644 --- a/bundles/org.eclipse.passage.lic.licenses.edit/src-gen/org/eclipse/passage/lic/licenses/edit/providers/SignatureAttributeItemProvider.java +++ b/bundles/org.eclipse.passage.lic.licenses.edit/src-gen/org/eclipse/passage/lic/licenses/edit/providers/SignatureAttributeItemProvider.java @@ -19,7 +19,7 @@ import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.util.ResourceLocator; - +import org.eclipse.emf.ecore.provider.EcoreEditPlugin; import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; import org.eclipse.emf.edit.provider.IItemLabelProvider; @@ -127,6 +127,11 @@ public String getText(Object object) { return label == null || label.length() == 0 ? getString("_UI_SignatureAttribute_type") : //$NON-NLS-1$ getString("_UI_SignatureAttribute_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ } + + @Override + public Object getImage(Object object) { + return overlayImage(object, EcoreEditPlugin.INSTANCE.getImage("full/obj16/EObject")); //$NON-NLS-1$ + } /** * This handles model notifications by calling {@link #updateChildren} to update any cached