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

COVERAGE SUMMARY FOR SOURCE FILE [PalladioComponentModelNavigatorSorter.java]

nameclass, %method, %block, %line, %
PalladioComponentModelNavigatorSorter.java0%   (0/1)0%   (0/2)0%   (0/15)0%   (0/6)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class PalladioComponentModelNavigatorSorter0%   (0/1)0%   (0/2)0%   (0/15)0%   (0/6)
PalladioComponentModelNavigatorSorter (): void 0%   (0/1)0%   (0/3)0%   (0/1)
category (Object): int 0%   (0/1)0%   (0/12)0%   (0/5)

1/*
2 * Copyright 2009, SDQ, IPD, Uni Karlsruhe (TH)
3 */
4package de.uka.ipd.sdq.pcm.gmf.resource.navigator;
5 
6import org.eclipse.jface.viewers.ViewerSorter;
7 
8import de.uka.ipd.sdq.pcm.gmf.resource.part.PalladioComponentModelVisualIDRegistry;
9 
10/**
11 * @generated
12 */
13public class PalladioComponentModelNavigatorSorter extends ViewerSorter {
14 
15        /**
16         * @generated
17         */
18        private static final int GROUP_CATEGORY = 7005;
19 
20        /**
21         * @generated
22         */
23        public int category(Object element) {
24                if (element instanceof PalladioComponentModelNavigatorItem) {
25                        PalladioComponentModelNavigatorItem item = (PalladioComponentModelNavigatorItem) element;
26                        return PalladioComponentModelVisualIDRegistry.getVisualID(item
27                                        .getView());
28                }
29                return GROUP_CATEGORY;
30        }
31 
32}

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