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 [VariableUsageVariableCharacterisationEditPart.java]

nameclass, %method, %block, %line, %
VariableUsageVariableCharacterisationEditPart.java0%   (0/1)0%   (0/5)0%   (0/51)0%   (0/20)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class VariableUsageVariableCharacterisationEditPart0%   (0/1)0%   (0/5)0%   (0/51)0%   (0/20)
VariableUsageVariableCharacterisationEditPart (View): void 0%   (0/1)0%   (0/4)0%   (0/2)
createDefaultEditPolicies (): void 0%   (0/1)0%   (0/33)0%   (0/13)
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.emf.common.notify.Notification;
7import org.eclipse.gef.EditPolicy;
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.editpolicies.ResizableCompartmentEditPolicy;
13import org.eclipse.gmf.runtime.draw2d.ui.figures.ConstrainedToolbarLayout;
14import org.eclipse.gmf.runtime.notation.View;
15 
16import de.uka.ipd.sdq.pcm.gmf.seff.edit.policies.VariableUsageVariableCharacterisationCanonicalEditPolicy;
17import de.uka.ipd.sdq.pcm.gmf.seff.edit.policies.VariableUsageVariableCharacterisationItemSemanticEditPolicy;
18import de.uka.ipd.sdq.pcm.gmf.seff.part.Messages;
19 
20/**
21 * @generated
22 */
23public class VariableUsageVariableCharacterisationEditPart extends
24                ListCompartmentEditPart {
25 
26        /**
27         * @generated
28         */
29        public static final int VISUAL_ID = 7037;
30 
31        /**
32         * @generated
33         */
34        public VariableUsageVariableCharacterisationEditPart(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.VariableUsageVariableCharacterisationEditPart_title;
50        }
51 
52        /**
53         * @generated
54         */
55        protected void createDefaultEditPolicies() {
56                super.createDefaultEditPolicies();
57                installEditPolicy(EditPolicy.PRIMARY_DRAG_ROLE,
58                                new ResizableCompartmentEditPolicy());
59                installEditPolicy(
60                                EditPolicyRoles.SEMANTIC_ROLE,
61                                new VariableUsageVariableCharacterisationItemSemanticEditPolicy());
62                installEditPolicy(EditPolicyRoles.CREATION_ROLE,
63                                new CreationEditPolicy());
64                installEditPolicy(EditPolicyRoles.DRAG_DROP_ROLE,
65                                new DragDropEditPolicy());
66                installEditPolicy(EditPolicyRoles.CANONICAL_ROLE,
67                                new VariableUsageVariableCharacterisationCanonicalEditPolicy());
68        }
69 
70        /**
71         * @generated
72         */
73        protected void setRatio(Double ratio) {
74                if (getFigure().getParent().getLayoutManager() instanceof ConstrainedToolbarLayout) {
75                        super.setRatio(ratio);
76                }
77        }
78 
79}

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