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

COVERAGE SUMMARY FOR SOURCE FILE [ProbabilityDensityFunctionItemProvider.java]

nameclass, %method, %block, %line, %
ProbabilityDensityFunctionItemProvider.java0%   (0/1)0%   (0/5)0%   (0/52)0%   (0/14)

COVERAGE BREAKDOWN BY CLASS AND METHOD

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

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