EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.uka.ipd.sdq.pcm.gmf.allocation.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, SDQ, IPD, U KA
3 */
4package de.uka.ipd.sdq.pcm.gmf.allocation.providers;
5 
6import org.eclipse.gmf.runtime.common.ui.services.action.contributionitem.AbstractContributionItemProvider;
7 
8import org.eclipse.gmf.runtime.common.ui.util.IWorkbenchPartDescriptor;
9 
10import org.eclipse.gmf.runtime.diagram.ui.printing.actions.PrintPreviewAction;
11 
12import org.eclipse.gmf.runtime.diagram.ui.printing.render.actions.EnhancedPrintActionHelper;
13import org.eclipse.gmf.runtime.diagram.ui.printing.render.actions.RenderedPrintPreviewAction;
14 
15import org.eclipse.jface.action.IAction;
16 
17/**
18 * @generated
19 */
20public class PalladioComponentModelContributionItemProvider extends
21                AbstractContributionItemProvider {
22 
23        /**
24         * @generated
25         */
26        protected IAction createAction(String actionId,
27                        IWorkbenchPartDescriptor partDescriptor) {
28                if (actionId.equals(PrintPreviewAction.ID)) {
29                        return new RenderedPrintPreviewAction(
30                                        new EnhancedPrintActionHelper());
31                }
32                return super.createAction(actionId, partDescriptor);
33        }
34 
35}

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