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

COVERAGE SUMMARY FOR SOURCE FILE [BranchActionBranchTransitionCompartment2ItemSemanticEditPolicy.java]

nameclass, %method, %block, %line, %
BranchActionBranchTransitionCompartment2ItemSemanticEditPolicy.java0%   (0/1)0%   (0/2)0%   (0/30)0%   (0/10)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class BranchActionBranchTransitionCompartment2ItemSemanticEditPolicy0%   (0/1)0%   (0/2)0%   (0/30)0%   (0/10)
BranchActionBranchTransitionCompartment2ItemSemanticEditPolicy (): void 0%   (0/1)0%   (0/4)0%   (0/2)
getCreateCommand (CreateElementRequest): Command 0%   (0/1)0%   (0/26)0%   (0/8)

1/*
2 *Copyright 2006 SDQ Research Group, University of Karlsruhe (TH)
3 */
4package de.uka.ipd.sdq.pcm.gmf.seff.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.seff.edit.commands.GuardedBranchTransitionCreateCommand;
10import de.uka.ipd.sdq.pcm.gmf.seff.edit.commands.ProbabilisticBranchTransitionCreateCommand;
11import de.uka.ipd.sdq.pcm.gmf.seff.providers.PalladioComponentModelElementTypes;
12 
13/**
14 * @generated
15 */
16public class BranchActionBranchTransitionCompartment2ItemSemanticEditPolicy
17                extends PalladioComponentModelBaseItemSemanticEditPolicy {
18 
19        /**
20         * @generated
21         */
22        public BranchActionBranchTransitionCompartment2ItemSemanticEditPolicy() {
23                super(PalladioComponentModelElementTypes.BranchAction_2005);
24        }
25 
26        /**
27         * @generated
28         */
29        protected Command getCreateCommand(CreateElementRequest req) {
30                if (PalladioComponentModelElementTypes.ProbabilisticBranchTransition_3010 == req
31                                .getElementType()) {
32                        return getGEFWrapper(new ProbabilisticBranchTransitionCreateCommand(
33                                        req));
34                }
35                if (PalladioComponentModelElementTypes.GuardedBranchTransition_3017 == req
36                                .getElementType()) {
37                        return getGEFWrapper(new GuardedBranchTransitionCreateCommand(req));
38                }
39                return super.getCreateCommand(req);
40        }
41}

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