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

COVERAGE SUMMARY FOR SOURCE FILE [PalladioComponentModelDiagramActionBarContributor.java]

nameclass, %method, %block, %line, %
PalladioComponentModelDiagramActionBarContributor.java0%   (0/1)0%   (0/5)0%   (0/37)0%   (0/9)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class PalladioComponentModelDiagramActionBarContributor0%   (0/1)0%   (0/5)0%   (0/37)0%   (0/9)
<static initializer> 0%   (0/1)0%   (0/8)0%   (0/1)
PalladioComponentModelDiagramActionBarContributor (): void 0%   (0/1)0%   (0/3)0%   (0/1)
getEditorClass (): Class 0%   (0/1)0%   (0/2)0%   (0/1)
getEditorId (): String 0%   (0/1)0%   (0/2)0%   (0/1)
init (IActionBars, IWorkbenchPage): void 0%   (0/1)0%   (0/22)0%   (0/6)

1/*
2 * Copyright 2009, SDQ, IPD, Uni Karlsruhe (TH)
3 */
4package de.uka.ipd.sdq.pcm.gmf.resource.part;
5 
6import org.eclipse.gmf.runtime.diagram.ui.parts.DiagramActionBarContributor;
7import org.eclipse.jface.action.IMenuManager;
8import org.eclipse.ui.IActionBars;
9import org.eclipse.ui.IWorkbenchActionConstants;
10import org.eclipse.ui.IWorkbenchPage;
11 
12/**
13 * @generated
14 */
15public class PalladioComponentModelDiagramActionBarContributor extends
16                DiagramActionBarContributor {
17 
18        /**
19         * @generated
20         */
21        protected Class getEditorClass() {
22                return PalladioComponentModelDiagramEditor.class;
23        }
24 
25        /**
26         * @generated
27         */
28        protected String getEditorId() {
29                return PalladioComponentModelDiagramEditor.ID;
30        }
31 
32        /**
33         * @generated
34         */
35        public void init(IActionBars bars, IWorkbenchPage page) {
36                super.init(bars, page);
37                // print preview
38                IMenuManager fileMenu = bars.getMenuManager().findMenuUsingPath(
39                                IWorkbenchActionConstants.M_FILE);
40                assert fileMenu != null;
41                fileMenu.remove("pageSetupAction"); //$NON-NLS-1$
42        }
43}

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