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

COVERAGE SUMMARY FOR SOURCE FILE [ChildRelationItemProvider.java]

nameclass, %method, %block, %line, %
ChildRelationItemProvider.java0%   (0/1)0%   (0/6)0%   (0/32)0%   (0/12)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ChildRelationItemProvider0%   (0/1)0%   (0/6)0%   (0/32)0%   (0/12)
ChildRelationItemProvider (AdapterFactory): void 0%   (0/1)0%   (0/4)0%   (0/2)
collectNewChildDescriptors (Collection, Object): void 0%   (0/1)0%   (0/5)0%   (0/2)
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>
3 * </copyright>
4 *
5 * $Id$
6 */
7package de.uka.ipd.sdq.featuremodel.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.common.util.ResourceLocator;
16import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
17import org.eclipse.emf.edit.provider.IItemLabelProvider;
18import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
19import org.eclipse.emf.edit.provider.IItemPropertySource;
20import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
21import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
22import org.eclipse.emf.edit.provider.ItemProviderAdapter;
23 
24/**
25 * This is the item provider adapter for a {@link de.uka.ipd.sdq.featuremodel.ChildRelation} object.
26 * <!-- begin-user-doc -->
27 * <!-- end-user-doc -->
28 * @generated
29 */
30public class ChildRelationItemProvider
31        extends ItemProviderAdapter
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 ChildRelationItemProvider(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 the label text for the adapted class.
65         * <!-- begin-user-doc -->
66         * <!-- end-user-doc -->
67         * @generated
68         */
69        @Override
70        public String getText(Object object) {
71                return getString("_UI_ChildRelation_type");
72        }
73 
74        /**
75         * This handles model notifications by calling {@link #updateChildren} to update any cached
76         * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
77         * <!-- begin-user-doc -->
78         * <!-- end-user-doc -->
79         * @generated
80         */
81        @Override
82        public void notifyChanged(Notification notification) {
83                updateChildren(notification);
84                super.notifyChanged(notification);
85        }
86 
87        /**
88         * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
89         * that can be created under this object.
90         * <!-- begin-user-doc -->
91         * <!-- end-user-doc -->
92         * @generated
93         */
94        @Override
95        protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
96                super.collectNewChildDescriptors(newChildDescriptors, object);
97        }
98 
99        /**
100         * Return the resource locator for this item provider's resources.
101         * <!-- begin-user-doc -->
102         * <!-- end-user-doc -->
103         * @generated
104         */
105        @Override
106        public ResourceLocator getResourceLocator() {
107                return FeaturemodelEditPlugin.INSTANCE;
108        }
109 
110}

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