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

COVERAGE SUMMARY FOR SOURCE FILE [DummyClassItemProvider.java]

nameclass, %method, %block, %line, %
DummyClassItemProvider.java0%   (0/1)0%   (0/7)0%   (0/40)0%   (0/13)

COVERAGE BREAKDOWN BY CLASS AND METHOD

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

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