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

COVERAGE SUMMARY FOR SOURCE FILE [FixedLinkingResourceCostItemProvider.java]

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

COVERAGE BREAKDOWN BY CLASS AND METHOD

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

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