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

nameclass, %method, %block, %line, %
DiscreteComponentParamDegreeItemProvider.java0%   (0/1)0%   (0/6)0%   (0/51)0%   (0/13)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class DiscreteComponentParamDegreeItemProvider0%   (0/1)0%   (0/6)0%   (0/51)0%   (0/13)
DiscreteComponentParamDegreeItemProvider (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/17)0%   (0/2)
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 de.uka.ipd.sdq.pcm.designdecision.DiscreteComponentParamDegree;
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.edit.provider.IEditingDomainItemProvider;
19import org.eclipse.emf.edit.provider.IItemLabelProvider;
20import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
21import org.eclipse.emf.edit.provider.IItemPropertySource;
22import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
23import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
24 
25/**
26 * This is the item provider adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.DiscreteComponentParamDegree} object.
27 * <!-- begin-user-doc -->
28 * <!-- end-user-doc -->
29 * @generated
30 */
31public class DiscreteComponentParamDegreeItemProvider
32        extends DiscreteRangeDegreeItemProvider
33        implements
34                IEditingDomainItemProvider,
35                IStructuredItemContentProvider,
36                ITreeItemContentProvider,
37                IItemLabelProvider,
38                IItemPropertySource {
39        /**
40         * This constructs an instance from a factory and a notifier.
41         * <!-- begin-user-doc -->
42         * <!-- end-user-doc -->
43         * @generated
44         */
45        public DiscreteComponentParamDegreeItemProvider(AdapterFactory adapterFactory) {
46                super(adapterFactory);
47        }
48 
49        /**
50         * This returns the property descriptors for the adapted class.
51         * <!-- begin-user-doc -->
52         * <!-- end-user-doc -->
53         * @generated
54         */
55        @Override
56        public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
57                if (itemPropertyDescriptors == null) {
58                        super.getPropertyDescriptors(object);
59 
60                }
61                return itemPropertyDescriptors;
62        }
63 
64        /**
65         * This returns DiscreteComponentParamDegree.gif.
66         * <!-- begin-user-doc -->
67         * <!-- end-user-doc -->
68         * @generated
69         */
70        @Override
71        public Object getImage(Object object) {
72                return overlayImage(object, getResourceLocator().getImage("full/obj16/DiscreteComponentParamDegree"));
73        }
74 
75        /**
76         * This returns the label text for the adapted class.
77         * <!-- begin-user-doc -->
78         * <!-- end-user-doc -->
79         * @generated
80         */
81        @Override
82        public String getText(Object object) {
83                DiscreteComponentParamDegree discreteComponentParamDegree = (DiscreteComponentParamDegree)object;
84                return getString("_UI_DiscreteComponentParamDegree_type") + " " + discreteComponentParamDegree.isUpperBoundIncluded();
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.pcm.designdecision.provider]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov