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

COVERAGE SUMMARY FOR SOURCE FILE [EntryLevelSystemCallParameterUsageEditPart.java]

nameclass, %method, %block, %line, %
EntryLevelSystemCallParameterUsageEditPart.java0%   (0/1)0%   (0/6)0%   (0/54)0%   (0/21)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class EntryLevelSystemCallParameterUsageEditPart0%   (0/1)0%   (0/6)0%   (0/54)0%   (0/21)
EntryLevelSystemCallParameterUsageEditPart (View): void 0%   (0/1)0%   (0/4)0%   (0/2)
createDefaultEditPolicies (): void 0%   (0/1)0%   (0/27)0%   (0/10)
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 2007, SDQ, IPD, University of Karlsruhe
3 */
4package de.uka.ipd.sdq.pcm.gmf.usage.edit.parts;
5 
6import org.eclipse.draw2d.IFigure;
7import org.eclipse.emf.common.notify.Notification;
8import org.eclipse.gmf.runtime.diagram.ui.editparts.ListCompartmentEditPart;
9import org.eclipse.gmf.runtime.diagram.ui.editpolicies.CreationEditPolicy;
10import org.eclipse.gmf.runtime.diagram.ui.editpolicies.DragDropEditPolicy;
11import org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles;
12import org.eclipse.gmf.runtime.diagram.ui.figures.ResizableCompartmentFigure;
13import org.eclipse.gmf.runtime.draw2d.ui.figures.ConstrainedToolbarLayout;
14import org.eclipse.gmf.runtime.notation.View;
15 
16import de.uka.ipd.sdq.pcm.gmf.usage.edit.policies.EntryLevelSystemCallParameterUsageCanonicalEditPolicy;
17import de.uka.ipd.sdq.pcm.gmf.usage.edit.policies.EntryLevelSystemCallParameterUsageItemSemanticEditPolicy;
18import de.uka.ipd.sdq.pcm.gmf.usage.part.Messages;
19 
20/**
21 * @generated
22 */
23public class EntryLevelSystemCallParameterUsageEditPart extends
24                ListCompartmentEditPart {
25 
26        /**
27         * @generated
28         */
29        public static final int VISUAL_ID = 7002;
30 
31        /**
32         * @generated
33         */
34        public EntryLevelSystemCallParameterUsageEditPart(View view) {
35                super(view);
36        }
37 
38        /**
39         * @generated
40         */
41        protected boolean hasModelChildrenChanged(Notification evt) {
42                return false;
43        }
44 
45        /**
46         * @generated
47         */
48        public String getCompartmentName() {
49                return Messages.EntryLevelSystemCallParameterUsageEditPart_title;
50        }
51 
52        /**
53         * @generated
54         */
55        public IFigure createFigure() {
56                ResizableCompartmentFigure result = (ResizableCompartmentFigure) super
57                                .createFigure();
58                result.setTitleVisibility(false);
59                return result;
60        }
61 
62        /**
63         * @generated
64         */
65        protected void createDefaultEditPolicies() {
66                super.createDefaultEditPolicies();
67                installEditPolicy(EditPolicyRoles.SEMANTIC_ROLE,
68                                new EntryLevelSystemCallParameterUsageItemSemanticEditPolicy());
69                installEditPolicy(EditPolicyRoles.CREATION_ROLE,
70                                new CreationEditPolicy());
71                installEditPolicy(EditPolicyRoles.DRAG_DROP_ROLE,
72                                new DragDropEditPolicy());
73                installEditPolicy(EditPolicyRoles.CANONICAL_ROLE,
74                                new EntryLevelSystemCallParameterUsageCanonicalEditPolicy());
75        }
76 
77        /**
78         * @generated
79         */
80        protected void setRatio(Double ratio) {
81                if (getFigure().getParent().getLayoutManager() instanceof ConstrainedToolbarLayout) {
82                        super.setRatio(ratio);
83                }
84        }
85 
86}

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