EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.uka.ipd.sdq.pcm.designdecision.provider]

COVERAGE SUMMARY FOR SOURCE FILE [ClassWithCopyDegreeItemProvider.java]

nameclass, %method, %block, %line, %
ClassWithCopyDegreeItemProvider.java0%   (0/1)0%   (0/6)0%   (0/38)0%   (0/12)

COVERAGE BREAKDOWN BY CLASS AND METHOD

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

[all classes][de.uka.ipd.sdq.pcm.designdecision.provider]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov