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

COVERAGE SUMMARY FOR SOURCE FILE [LinkingResourceConnectedResourceContainers_LinkingResourceEditPart.java]

nameclass, %method, %block, %line, %
LinkingResourceConnectedResourceContainers_LinkingResourceEditPart.java0%   (0/1)0%   (0/4)0%   (0/21)0%   (0/9)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class LinkingResourceConnectedResourceContainers_LinkingResourceEditPart0%   (0/1)0%   (0/4)0%   (0/21)0%   (0/9)
LinkingResourceConnectedResourceContainers_LinkingResourceEditPart (View): void 0%   (0/1)0%   (0/4)0%   (0/2)
createConnectionFigure (): Connection 0%   (0/1)0%   (0/4)0%   (0/1)
createDefaultEditPolicies (): void 0%   (0/1)0%   (0/9)0%   (0/5)
getPrimaryShape (): PolylineConnectionEx 0%   (0/1)0%   (0/4)0%   (0/1)

1/*
2 * Copyright 2009, SDQ, IPD, Uni Karlsruhe (TH)
3 */
4package de.uka.ipd.sdq.pcm.gmf.resource.edit.parts;
5 
6import org.eclipse.draw2d.Connection;
7import org.eclipse.gmf.runtime.diagram.ui.editparts.ConnectionNodeEditPart;
8import org.eclipse.gmf.runtime.diagram.ui.editparts.ITreeBranchEditPart;
9import org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles;
10import org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx;
11import org.eclipse.gmf.runtime.notation.View;
12 
13import de.uka.ipd.sdq.pcm.gmf.resource.edit.policies.LinkingResourceConnectedResourceContainers_LinkingResourceItemSemanticEditPolicy;
14 
15/**
16 * @generated
17 */
18public class LinkingResourceConnectedResourceContainers_LinkingResourceEditPart
19                extends ConnectionNodeEditPart implements ITreeBranchEditPart {
20 
21        /**
22         * @generated
23         */
24        public static final int VISUAL_ID = 4002;
25 
26        /**
27         * @generated
28         */
29        public LinkingResourceConnectedResourceContainers_LinkingResourceEditPart(
30                        View view) {
31                super(view);
32        }
33 
34        /**
35         * @generated
36         */
37        protected void createDefaultEditPolicies() {
38                super.createDefaultEditPolicies();
39                installEditPolicy(
40                                EditPolicyRoles.SEMANTIC_ROLE,
41                                new LinkingResourceConnectedResourceContainers_LinkingResourceItemSemanticEditPolicy());
42        }
43 
44        /**
45         * Creates figure for this edit part.
46         * 
47         * Body of this method does not depend on settings in generation model
48         * so you may safely remove <i>generated</i> tag and modify it.
49         * 
50         * @generated
51         */
52        protected Connection createConnectionFigure() {
53                return new PolylineConnectionEx();
54        }
55 
56        /**
57         * @generated
58         */
59        public PolylineConnectionEx getPrimaryShape() {
60                return (PolylineConnectionEx) getFigure();
61        }
62 
63}

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