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

COVERAGE SUMMARY FOR SOURCE FILE [CostPalladioAdapterFactoryContentProvider.java]

nameclass, %method, %block, %line, %
CostPalladioAdapterFactoryContentProvider.java0%   (0/1)0%   (0/2)0%   (0/17)0%   (0/5)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class CostPalladioAdapterFactoryContentProvider0%   (0/1)0%   (0/2)0%   (0/17)0%   (0/5)
CostPalladioAdapterFactoryContentProvider (AdapterFactory): void 0%   (0/1)0%   (0/4)0%   (0/2)
createPropertySource (Object, IItemPropertySource): IPropertySource 0%   (0/1)0%   (0/13)0%   (0/3)

1package de.uka.ipd.sdq.pcm.cost.editor.customisation;
2 
3import org.eclipse.emf.common.notify.AdapterFactory;
4import org.eclipse.emf.edit.provider.IItemPropertySource;
5import org.eclipse.ui.views.properties.IPropertySource;
6 
7import de.uka.ipd.sdq.pcm.cost.ScalarFunction;
8import de.uka.ipd.sdq.pcmbench.propertytabs.PalladioAdapterFactoryContentProvider;
9import de.uka.ipd.sdq.stoex.RandomVariable;
10 
11public class CostPalladioAdapterFactoryContentProvider extends
12                PalladioAdapterFactoryContentProvider {
13        
14        public CostPalladioAdapterFactoryContentProvider(
15                        AdapterFactory adapterFactory) {
16                super(adapterFactory);
17        }
18 
19        @Override
20        protected IPropertySource createPropertySource(Object object, IItemPropertySource itemPropertySource) {
21            if (object instanceof ScalarFunction)
22            {
23                    return getRandomVariablePropertySheet(object, itemPropertySource);
24            }
25            else
26                    return super.createPropertySource(object, itemPropertySource);
27        }
28 
29 
30}

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