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

COVERAGE SUMMARY FOR SOURCE FILE [InfrastructureCallInfrastructureCallInputVariableUsagesEditPart.java]

nameclass, %method, %block, %line, %
InfrastructureCallInfrastructureCallInputVariableUsagesEditPart.java0%   (0/1)0%   (0/6)0%   (0/60)0%   (0/25)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class InfrastructureCallInfrastructureCallInputVariableUsagesEditPart0%   (0/1)0%   (0/6)0%   (0/60)0%   (0/25)
InfrastructureCallInfrastructureCallInputVariableUsagesEditPart (View): void 0%   (0/1)0%   (0/4)0%   (0/2)
createDefaultEditPolicies (): void 0%   (0/1)0%   (0/33)0%   (0/14)
createFigure (): IFigure 0%   (0/1)0%   (0/9)0%   (0/4)
getCompartmentName (): String 0%   (0/1)0%   (0/2)0%   (0/1)
hasModelChildrenChanged (Notification): boolean 0%   (0/1)0%   (0/2)0%   (0/1)
setRatio (Double): void 0%   (0/1)0%   (0/10)0%   (0/3)

1/*
2 * Copyright 2006 SDQ Research Group, University of Karlsruhe (TH)
3 */
4package de.uka.ipd.sdq.pcm.gmf.seff.edit.parts;
5 
6import org.eclipse.draw2d.IFigure;
7import org.eclipse.emf.common.notify.Notification;
8import org.eclipse.gef.EditPolicy;
9import org.eclipse.gmf.runtime.diagram.ui.editparts.ListCompartmentEditPart;
10import org.eclipse.gmf.runtime.diagram.ui.editparts.ShapeCompartmentEditPart;
11import org.eclipse.gmf.runtime.diagram.ui.editpolicies.CreationEditPolicy;
12import org.eclipse.gmf.runtime.diagram.ui.editpolicies.DragDropEditPolicy;
13import org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles;
14import org.eclipse.gmf.runtime.diagram.ui.editpolicies.ResizableCompartmentEditPolicy;
15import org.eclipse.gmf.runtime.diagram.ui.figures.ResizableCompartmentFigure;
16import org.eclipse.gmf.runtime.draw2d.ui.figures.ConstrainedToolbarLayout;
17import org.eclipse.gmf.runtime.notation.View;
18 
19import de.uka.ipd.sdq.pcm.gmf.seff.edit.policies.InfrastructureCallInfrastructureCallInputVariableUsagesCanonicalEditPolicy;
20import de.uka.ipd.sdq.pcm.gmf.seff.edit.policies.InfrastructureCallInfrastructureCallInputVariableUsagesItemSemanticEditPolicy;
21import de.uka.ipd.sdq.pcm.gmf.seff.part.Messages;
22 
23/**
24 * @generated
25 */
26public class InfrastructureCallInfrastructureCallInputVariableUsagesEditPart
27                extends ListCompartmentEditPart {
28 
29        /**
30         * @generated
31         */
32        public static final int VISUAL_ID = 7049;
33 
34        /**
35         * @generated
36         */
37        public InfrastructureCallInfrastructureCallInputVariableUsagesEditPart(
38                        View view) {
39                super(view);
40        }
41 
42        /**
43         * @generated
44         */
45        protected boolean hasModelChildrenChanged(Notification evt) {
46                return false;
47        }
48 
49        /**
50         * @generated
51         */
52        public String getCompartmentName() {
53                return Messages.InfrastructureCallInfrastructureCallInputVariableUsagesEditPart_title;
54        }
55 
56        /**
57         * @generated
58         */
59        public IFigure createFigure() {
60                ResizableCompartmentFigure result = (ResizableCompartmentFigure) super
61                                .createFigure();
62                result.setTitleVisibility(false);
63                return result;
64        }
65 
66        /**
67         * @generated
68         */
69        protected void createDefaultEditPolicies() {
70                super.createDefaultEditPolicies();
71                installEditPolicy(EditPolicy.PRIMARY_DRAG_ROLE,
72                                new ResizableCompartmentEditPolicy());
73                installEditPolicy(
74                                EditPolicyRoles.SEMANTIC_ROLE,
75                                new InfrastructureCallInfrastructureCallInputVariableUsagesItemSemanticEditPolicy());
76                installEditPolicy(EditPolicyRoles.CREATION_ROLE,
77                                new CreationEditPolicy());
78                installEditPolicy(EditPolicyRoles.DRAG_DROP_ROLE,
79                                new DragDropEditPolicy());
80                installEditPolicy(
81                                EditPolicyRoles.CANONICAL_ROLE,
82                                new InfrastructureCallInfrastructureCallInputVariableUsagesCanonicalEditPolicy());
83        }
84 
85        /**
86         * @generated
87         */
88        protected void setRatio(Double ratio) {
89                if (getFigure().getParent().getLayoutManager() instanceof ConstrainedToolbarLayout) {
90                        super.setRatio(ratio);
91                }
92        }
93 
94}

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