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

COVERAGE SUMMARY FOR SOURCE FILE [SoftwareReliabilityParameterItemProvider.java]

nameclass, %method, %block, %line, %
SoftwareReliabilityParameterItemProvider.java0%   (0/1)0%   (0/6)0%   (0/59)0%   (0/14)

COVERAGE BREAKDOWN BY CLASS AND METHOD

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

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