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

nameclass, %method, %block, %line, %
ForkActionForkedBehaviours2EditPart.java0%   (0/1)0%   (0/4)0%   (0/43)0%   (0/16)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ForkActionForkedBehaviours2EditPart0%   (0/1)0%   (0/4)0%   (0/43)0%   (0/16)
ForkActionForkedBehaviours2EditPart (View): void 0%   (0/1)0%   (0/4)0%   (0/2)
createDefaultEditPolicies (): void 0%   (0/1)0%   (0/27)0%   (0/10)
getCompartmentName (): String 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.gmf.runtime.diagram.ui.editparts.ShapeCompartmentEditPart;
7import org.eclipse.gmf.runtime.diagram.ui.editpolicies.CreationEditPolicy;
8import org.eclipse.gmf.runtime.diagram.ui.editpolicies.DragDropEditPolicy;
9import org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles;
10import org.eclipse.gmf.runtime.draw2d.ui.figures.ConstrainedToolbarLayout;
11import org.eclipse.gmf.runtime.notation.View;
12 
13import de.uka.ipd.sdq.pcm.gmf.seff.edit.policies.ForkActionForkedBehaviours2CanonicalEditPolicy;
14import de.uka.ipd.sdq.pcm.gmf.seff.edit.policies.ForkActionForkedBehaviours2ItemSemanticEditPolicy;
15import de.uka.ipd.sdq.pcm.gmf.seff.part.Messages;
16 
17/**
18 * @generated
19 */
20public class ForkActionForkedBehaviours2EditPart extends
21                ShapeCompartmentEditPart {
22 
23        /**
24         * @generated
25         */
26        public static final int VISUAL_ID = 7019;
27 
28        /**
29         * @generated
30         */
31        public ForkActionForkedBehaviours2EditPart(View view) {
32                super(view);
33        }
34 
35        /**
36         * @generated
37         */
38        public String getCompartmentName() {
39                return Messages.ForkActionForkedBehaviours2EditPart_title;
40        }
41 
42        /**
43         * @generated
44         */
45        protected void createDefaultEditPolicies() {
46                super.createDefaultEditPolicies();
47                installEditPolicy(EditPolicyRoles.SEMANTIC_ROLE,
48                                new ForkActionForkedBehaviours2ItemSemanticEditPolicy());
49                installEditPolicy(EditPolicyRoles.CREATION_ROLE,
50                                new CreationEditPolicy());
51                installEditPolicy(EditPolicyRoles.DRAG_DROP_ROLE,
52                                new DragDropEditPolicy());
53                installEditPolicy(EditPolicyRoles.CANONICAL_ROLE,
54                                new ForkActionForkedBehaviours2CanonicalEditPolicy());
55        }
56 
57        /**
58         * @generated
59         */
60        protected void setRatio(Double ratio) {
61                if (getFigure().getParent().getLayoutManager() instanceof ConstrainedToolbarLayout) {
62                        super.setRatio(ratio);
63                }
64        }
65 
66}

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