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..450399c70 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 @@ -17,9 +17,8 @@ import org.eclipse.emf.common.notify.AdapterFactory; 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; @@ -30,26 +29,24 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemProviderAdapter; import org.eclipse.emf.edit.provider.ViewerNotification; - import org.eclipse.passage.lic.licenses.edit.LicensesEditPlugin; - import org.eclipse.passage.lic.licenses.model.api.SignatureAttribute; - import org.eclipse.passage.lic.licenses.model.meta.LicensesPackage; /** - * This is the item provider adapter for a {@link org.eclipse.passage.lic.licenses.model.api.SignatureAttribute} object. - * - * + * This is the item provider adapter for a + * {@link org.eclipse.passage.lic.licenses.model.api.SignatureAttribute} object. + * + * * @since 2.0 * @generated */ public class SignatureAttributeItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource { /** - * This constructs an instance from a factory and a notifier. - * - * + * This constructs an instance from a factory and a notifier. + * * @generated */ public SignatureAttributeItemProvider(AdapterFactory adapterFactory) { @@ -57,9 +54,9 @@ public SignatureAttributeItemProvider(AdapterFactory adapterFactory) { } /** - * This returns the property descriptors for the adapted class. - * - * + * This returns the property descriptors for the adapted class. + * * @generated */ @Override @@ -74,9 +71,9 @@ public List getPropertyDescriptors(Object object) { } /** - * This adds a property descriptor for the Name feature. - * + * This adds a property descriptor for the Name feature. * + * * @generated */ protected void addNamePropertyDescriptor(Object object) { @@ -90,9 +87,9 @@ protected void addNamePropertyDescriptor(Object object) { } /** - * This adds a property descriptor for the Value feature. - * - * + * This adds a property descriptor for the Value feature. + * * @generated */ protected void addValuePropertyDescriptor(Object object) { @@ -106,8 +103,8 @@ protected void addValuePropertyDescriptor(Object object) { } /** - * - * + * + * * @generated */ @Override @@ -116,9 +113,9 @@ protected boolean shouldComposeCreationImage() { } /** - * This returns the label text for the adapted class. - * + * This returns the label text for the adapted class. * + * * @generated */ @Override @@ -128,11 +125,16 @@ public String getText(Object object) { 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 - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * + * This handles model notifications by calling {@link #updateChildren} to update + * any cached children and by creating a viewer notification, which it passes to + * {@link #fireNotifyChanged}. + * * @generated */ @Override @@ -151,10 +153,10 @@ public void notifyChanged(Notification notification) { } /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing + * the children that can be created under this object. * + * * @generated */ @Override @@ -163,9 +165,9 @@ protected void collectNewChildDescriptors(Collection newChildDescriptors } /** - * Return the resource locator for this item provider's resources. - * - * + * Return the resource locator for this item provider's resources. + * * @generated */ @Override