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

COVERAGE SUMMARY FOR SOURCE FILE [SensorsTabContentProvider.java]

nameclass, %method, %block, %line, %
SensorsTabContentProvider.java0%   (0/1)0%   (0/4)0%   (0/17)0%   (0/7)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class SensorsTabContentProvider0%   (0/1)0%   (0/4)0%   (0/17)0%   (0/7)
SensorsTabContentProvider (): 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/12)0%   (0/4)
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.sensors;
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 admin
13 *
14 */
15public class SensorsTabContentProvider implements 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.getConfigEntrys().toArray();
24                }
25                return null;
26        }
27 
28        /* (non-Javadoc)
29         * @see org.eclipse.jface.viewers.IContentProvider#dispose()
30         */
31        public void dispose() {
32                // TODO Auto-generated method stub
33 
34        }
35 
36        /* (non-Javadoc)
37         * TODO Delete --> Geht nicht!!!
38         * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
39         */
40        public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
41 
42        }
43 
44}

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