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

COVERAGE SUMMARY FOR SOURCE FILE [PalladioComponentModelContributionItemProvider.java]

nameclass, %method, %block, %line, %
PalladioComponentModelContributionItemProvider.java0%   (0/1)0%   (0/2)0%   (0/19)0%   (0/5)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class PalladioComponentModelContributionItemProvider0%   (0/1)0%   (0/2)0%   (0/19)0%   (0/5)
PalladioComponentModelContributionItemProvider (): void 0%   (0/1)0%   (0/3)0%   (0/1)
createAction (String, IWorkbenchPartDescriptor): IAction 0%   (0/1)0%   (0/16)0%   (0/4)

1/*
2 *Copyright 2007, IPD, SDQ, University of Karlsruhe
3 */
4package de.uka.ipd.sdq.pcm.gmf.repository.providers;
5 
6import org.eclipse.gmf.runtime.common.ui.services.action.contributionitem.AbstractContributionItemProvider;
7import org.eclipse.gmf.runtime.common.ui.util.IWorkbenchPartDescriptor;
8import org.eclipse.gmf.runtime.diagram.ui.printing.actions.PrintPreviewAction;
9import org.eclipse.gmf.runtime.diagram.ui.printing.render.actions.EnhancedPrintActionHelper;
10import org.eclipse.gmf.runtime.diagram.ui.printing.render.actions.RenderedPrintPreviewAction;
11import org.eclipse.jface.action.IAction;
12 
13/**
14 * @generated
15 */
16public class PalladioComponentModelContributionItemProvider extends
17                AbstractContributionItemProvider {
18 
19        /**
20         * @generated
21         */
22        protected IAction createAction(String actionId,
23                        IWorkbenchPartDescriptor partDescriptor) {
24                if (actionId.equals(PrintPreviewAction.ID)) {
25                        return new RenderedPrintPreviewAction(
26                                        new EnhancedPrintActionHelper());
27                }
28                return super.createAction(actionId, partDescriptor);
29        }
30 
31}

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