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 [UnorderedPrimitiveDegreeItemProvider.java]

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

COVERAGE BREAKDOWN BY CLASS AND METHOD

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

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