EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.fzi.se.quality.parameters.provider]

COVERAGE SUMMARY FOR SOURCE FILE [OperationReferenceItemProvider.java]

nameclass, %method, %block, %line, %
OperationReferenceItemProvider.java0%   (0/1)0%   (0/6)0%   (0/32)0%   (0/12)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class OperationReferenceItemProvider0%   (0/1)0%   (0/6)0%   (0/32)0%   (0/12)
OperationReferenceItemProvider (AdapterFactory): void 0%   (0/1)0%   (0/4)0%   (0/2)
collectNewChildDescriptors (Collection, Object): void 0%   (0/1)0%   (0/5)0%   (0/2)
getPropertyDescriptors (Object): List 0%   (0/1)0%   (0/10)0%   (0/3)
getResourceLocator (): ResourceLocator 0%   (0/1)0%   (0/2)0%   (0/1)
getText (Object): String 0%   (0/1)0%   (0/4)0%   (0/1)
notifyChanged (Notification): void 0%   (0/1)0%   (0/7)0%   (0/3)

1/**
2 * <copyright>
3 * </copyright>
4 *
5 * $Id$
6 */
7package de.fzi.se.quality.parameters.provider;
8 
9 
10import de.fzi.se.quality.provider.QualityEditPlugin;
11 
12import java.util.Collection;
13import java.util.List;
14 
15import org.eclipse.emf.common.notify.AdapterFactory;
16import org.eclipse.emf.common.notify.Notification;
17 
18import org.eclipse.emf.common.util.ResourceLocator;
19 
20import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
21import org.eclipse.emf.edit.provider.IItemLabelProvider;
22import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
23import org.eclipse.emf.edit.provider.IItemPropertySource;
24import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
25import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
26import org.eclipse.emf.edit.provider.ItemProviderAdapter;
27 
28/**
29 * This is the item provider adapter for a {@link de.fzi.se.quality.parameters.OperationReference} object.
30 * <!-- begin-user-doc -->
31 * <!-- end-user-doc -->
32 * @generated
33 */
34public class OperationReferenceItemProvider
35        extends ItemProviderAdapter
36        implements
37                IEditingDomainItemProvider,
38                IStructuredItemContentProvider,
39                ITreeItemContentProvider,
40                IItemLabelProvider,
41                IItemPropertySource {
42        /**
43         * This constructs an instance from a factory and a notifier.
44         * <!-- begin-user-doc -->
45         * <!-- end-user-doc -->
46         * @generated
47         */
48        public OperationReferenceItemProvider(AdapterFactory adapterFactory) {
49                super(adapterFactory);
50        }
51 
52        /**
53         * This returns the property descriptors for the adapted class.
54         * <!-- begin-user-doc -->
55         * <!-- end-user-doc -->
56         * @generated
57         */
58        @Override
59        public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
60                if (itemPropertyDescriptors == null) {
61                        super.getPropertyDescriptors(object);
62 
63                }
64                return itemPropertyDescriptors;
65        }
66 
67        /**
68         * This returns the label text for the adapted class.
69         * <!-- begin-user-doc -->
70         * <!-- end-user-doc -->
71         * @generated
72         */
73        @Override
74        public String getText(Object object) {
75                return getString("_UI_OperationReference_type");
76        }
77 
78        /**
79         * This handles model notifications by calling {@link #updateChildren} to update any cached
80         * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
81         * <!-- begin-user-doc -->
82         * <!-- end-user-doc -->
83         * @generated
84         */
85        @Override
86        public void notifyChanged(Notification notification) {
87                updateChildren(notification);
88                super.notifyChanged(notification);
89        }
90 
91        /**
92         * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
93         * that can be created under this object.
94         * <!-- begin-user-doc -->
95         * <!-- end-user-doc -->
96         * @generated
97         */
98        @Override
99        protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
100                super.collectNewChildDescriptors(newChildDescriptors, object);
101        }
102 
103        /**
104         * Return the resource locator for this item provider's resources.
105         * <!-- begin-user-doc -->
106         * <!-- end-user-doc -->
107         * @generated
108         */
109        @Override
110        public ResourceLocator getResourceLocator() {
111                return QualityEditPlugin.INSTANCE;
112        }
113 
114}

[all classes][de.fzi.se.quality.parameters.provider]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov