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

nameclass, %method, %block, %line, %
ForkActionForkedBehaviours2ItemSemanticEditPolicy.java0%   (0/1)0%   (0/2)0%   (0/30)0%   (0/9)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ForkActionForkedBehaviours2ItemSemanticEditPolicy0%   (0/1)0%   (0/2)0%   (0/30)0%   (0/9)
ForkActionForkedBehaviours2ItemSemanticEditPolicy (): void 0%   (0/1)0%   (0/4)0%   (0/2)
getCreateCommand (CreateElementRequest): Command 0%   (0/1)0%   (0/26)0%   (0/7)

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.ForkedBehaviourCreateCommand;
10import de.uka.ipd.sdq.pcm.gmf.seff.edit.commands.SynchronisationPointCreateCommand;
11import de.uka.ipd.sdq.pcm.gmf.seff.providers.PalladioComponentModelElementTypes;
12 
13/**
14 * @generated
15 */
16public class ForkActionForkedBehaviours2ItemSemanticEditPolicy extends
17                PalladioComponentModelBaseItemSemanticEditPolicy {
18 
19        /**
20         * @generated
21         */
22        public ForkActionForkedBehaviours2ItemSemanticEditPolicy() {
23                super(PalladioComponentModelElementTypes.ForkAction_2011);
24        }
25 
26        /**
27         * @generated
28         */
29        protected Command getCreateCommand(CreateElementRequest req) {
30                if (PalladioComponentModelElementTypes.ForkedBehaviour_3027 == req
31                                .getElementType()) {
32                        return getGEFWrapper(new ForkedBehaviourCreateCommand(req));
33                }
34                if (PalladioComponentModelElementTypes.SynchronisationPoint_3038 == req
35                                .getElementType()) {
36                        return getGEFWrapper(new SynchronisationPointCreateCommand(req));
37                }
38                return super.getCreateCommand(req);
39        }
40}

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