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

COVERAGE SUMMARY FOR SOURCE FILE [FiltersTabContentProvider.java]

nameclass, %method, %block, %line, %
FiltersTabContentProvider.java0%   (0/1)0%   (0/4)0%   (0/18)0%   (0/8)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class FiltersTabContentProvider0%   (0/1)0%   (0/4)0%   (0/18)0%   (0/8)
FiltersTabContentProvider (): void 0%   (0/1)0%   (0/3)0%   (0/1)
dispose (): void 0%   (0/1)0%   (0/1)0%   (0/1)
getElements (Object): Object [] 0%   (0/1)0%   (0/13)0%   (0/5)
inputChanged (Viewer, Object, Object): void 0%   (0/1)0%   (0/1)0%   (0/1)

1/**
2 * 
3 */
4package de.uka.ipd.sdq.sensorframework.visualisation.tabs.filters;
5 
6import org.eclipse.jface.viewers.IStructuredContentProvider;
7import org.eclipse.jface.viewers.Viewer;
8 
9import de.uka.ipd.sdq.sensorframework.visualisation.editor.ConfigEditorInput;
10 
11/**
12 * @author Roman Andrej
13 */
14public class FiltersTabContentProvider implements
15                IStructuredContentProvider {
16 
17        /* (non-Javadoc)
18         * @see org.eclipse.jface.viewers.IStructuredContentProvider#getElements(java.lang.Object)
19         */
20        public Object[] getElements(Object inputElement) {
21                if (inputElement instanceof ConfigEditorInput) {
22                        ConfigEditorInput configuration = (ConfigEditorInput) inputElement;
23                        return configuration.getFiltersManager()
24                                        .getFactories().toArray();
25                }
26                return null;
27        }
28 
29        /* (non-Javadoc)
30         * @see org.eclipse.jface.viewers.IContentProvider#dispose()
31         */
32        public void dispose() {
33                // The implementation is not necessary.
34        }
35 
36        /* (non-Javadoc)
37         * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
38         */
39        public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
40                // The implementation is not necessary.
41        }
42 
43}

[all classes][de.uka.ipd.sdq.sensorframework.visualisation.tabs.filters]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov