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

COVERAGE SUMMARY FOR SOURCE FILE [ForkedBehaviourItemProvider.java]

nameclass, %method, %block, %line, %
ForkedBehaviourItemProvider.java0%   (0/1)0%   (0/6)0%   (0/38)0%   (0/12)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ForkedBehaviourItemProvider0%   (0/1)0%   (0/6)0%   (0/38)0%   (0/12)
ForkedBehaviourItemProvider (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/4)0%   (0/1)
notifyChanged (Notification): void 0%   (0/1)0%   (0/7)0%   (0/3)

1/**
2 * Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany
3 *
4 * $Id$
5 */
6package de.uka.ipd.sdq.pcm.seff.provider;
7 
8 
9import java.util.Collection;
10import java.util.List;
11 
12import org.eclipse.emf.common.notify.AdapterFactory;
13import org.eclipse.emf.common.notify.Notification;
14import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
15import org.eclipse.emf.edit.provider.IItemLabelProvider;
16import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
17import org.eclipse.emf.edit.provider.IItemPropertySource;
18import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
19import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
20 
21/**
22 * This is the item provider adapter for a {@link de.uka.ipd.sdq.pcm.seff.ForkedBehaviour} object.
23 * <!-- begin-user-doc -->
24 * <!-- end-user-doc -->
25 * @generated
26 */
27public class ForkedBehaviourItemProvider
28        extends ResourceDemandingBehaviourItemProvider
29        implements
30                IEditingDomainItemProvider,
31                IStructuredItemContentProvider,
32                ITreeItemContentProvider,
33                IItemLabelProvider,
34                IItemPropertySource {
35        /**
36         * <!-- begin-user-doc -->
37         * <!-- end-user-doc -->
38         * @generated
39         */
40        public static final String copyright = "Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany";
41 
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 ForkedBehaviourItemProvider(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 ForkedBehaviour.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/ForkedBehaviour"));
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                return getString("_UI_ForkedBehaviour_type");
87        }
88 
89        /**
90         * This handles model notifications by calling {@link #updateChildren} to update any cached
91         * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
92         * <!-- begin-user-doc -->
93         * <!-- end-user-doc -->
94         * @generated
95         */
96        @Override
97        public void notifyChanged(Notification notification) {
98                updateChildren(notification);
99                super.notifyChanged(notification);
100        }
101 
102        /**
103         * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
104         * that can be created under this object.
105         * <!-- begin-user-doc -->
106         * <!-- end-user-doc -->
107         * @generated
108         */
109        @Override
110        protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
111                super.collectNewChildDescriptors(newChildDescriptors, object);
112        }
113 
114}

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