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

COVERAGE SUMMARY FOR SOURCE FILE [DialogsImages.java]

nameclass, %method, %block, %line, %
DialogsImages.java0%   (0/1)0%   (0/3)0%   (0/28)0%   (0/7)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class DialogsImages0%   (0/1)0%   (0/3)0%   (0/28)0%   (0/7)
<static initializer> 0%   (0/1)0%   (0/21)0%   (0/5)
DialogsImages (): void 0%   (0/1)0%   (0/3)0%   (0/1)
getImageDescriptor (String): ImageDescriptor 0%   (0/1)0%   (0/4)0%   (0/2)

1package de.uka.ipd.sdq.sensorframework.dialogs;
2 
3import org.eclipse.jface.resource.ImageDescriptor;
4import org.eclipse.jface.resource.ImageRegistry;
5import org.eclipse.ui.plugin.AbstractUIPlugin;
6 
7/**
8 * @author roman Compilation of the pictures used in
9 *         de.uka.ipd.sdq.dialogs-Plugin
10 */
11public class DialogsImages {
12 
13        /**
14         * Names of images used to represent actions in ToolBar
15         */
16        public static final String TREEROOT = "tree_root";
17 
18        // For the toolbar images
19        public static ImageRegistry imageRegistry = new ImageRegistry();
20 
21        /**
22         * Note: An image registry owns all of the image objects registered with it,
23         * and automatically disposes of them the SWT Display is disposed.
24         */
25        static {
26                String iconPath = "icons/";
27 
28                imageRegistry.put(TREEROOT,
29                                 getImageDescriptor(iconPath + TREEROOT + ".gif"));
30        }
31 
32        /**
33         * @param imageFilePath
34         *            the relative to the root of the plug-in; the path must be
35         *            legal
36         * @return an image descriptor, or null if no image could be found
37         */
38        public static ImageDescriptor getImageDescriptor(String imageFilePath) {
39                return AbstractUIPlugin.imageDescriptorFromPlugin(
40                                SensorFrameworkDialogPlugin.PLUGIN_ID, imageFilePath);
41        }
42 
43}

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