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

COVERAGE SUMMARY FOR SOURCE FILE [BranchUsageBranchTransitionsCompartmentItemSemanticEditPolicy.java]

nameclass, %method, %block, %line, %
BranchUsageBranchTransitionsCompartmentItemSemanticEditPolicy.java0%   (0/1)0%   (0/2)0%   (0/19)0%   (0/6)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class BranchUsageBranchTransitionsCompartmentItemSemanticEditPolicy0%   (0/1)0%   (0/2)0%   (0/19)0%   (0/6)
BranchUsageBranchTransitionsCompartmentItemSemanticEditPolicy (): void 0%   (0/1)0%   (0/4)0%   (0/2)
getCreateCommand (CreateElementRequest): Command 0%   (0/1)0%   (0/15)0%   (0/4)

1/*
2 *Copyright 2007, SDQ, IPD, University of Karlsruhe
3 */
4package de.uka.ipd.sdq.pcm.gmf.usage.edit.policies;
5 
6import org.eclipse.gef.commands.Command;
7import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest;
8 
9import de.uka.ipd.sdq.pcm.gmf.usage.edit.commands.BranchTransitionCreateCommand;
10import de.uka.ipd.sdq.pcm.gmf.usage.providers.PalladioComponentModelElementTypes;
11 
12/**
13 * @generated
14 */
15public class BranchUsageBranchTransitionsCompartmentItemSemanticEditPolicy
16                extends PalladioComponentModelBaseItemSemanticEditPolicy {
17 
18        /**
19         * @generated
20         */
21        public BranchUsageBranchTransitionsCompartmentItemSemanticEditPolicy() {
22                super(PalladioComponentModelElementTypes.Branch_3008);
23        }
24 
25        /**
26         * @generated
27         */
28        protected Command getCreateCommand(CreateElementRequest req) {
29                if (PalladioComponentModelElementTypes.BranchTransition_3009 == req
30                                .getElementType()) {
31                        return getGEFWrapper(new BranchTransitionCreateCommand(req));
32                }
33                return super.getCreateCommand(req);
34        }
35}

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