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

nameclass, %method, %block, %line, %
ForkedBehaviourBehaviourCompartmentItemSemanticEditPolicy.java0%   (0/1)0%   (0/2)0%   (0/140)0%   (0/39)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ForkedBehaviourBehaviourCompartmentItemSemanticEditPolicy0%   (0/1)0%   (0/2)0%   (0/140)0%   (0/39)
ForkedBehaviourBehaviourCompartmentItemSemanticEditPolicy (): void 0%   (0/1)0%   (0/4)0%   (0/2)
getCreateCommand (CreateElementRequest): Command 0%   (0/1)0%   (0/136)0%   (0/37)

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.AcquireAction2CreateCommand;
10import de.uka.ipd.sdq.pcm.gmf.seff.edit.commands.BranchAction2CreateCommand;
11import de.uka.ipd.sdq.pcm.gmf.seff.edit.commands.CollectionIteratorAction2CreateCommand;
12import de.uka.ipd.sdq.pcm.gmf.seff.edit.commands.EmitEventAction2CreateCommand;
13import de.uka.ipd.sdq.pcm.gmf.seff.edit.commands.ExternalCallAction2CreateCommand;
14import de.uka.ipd.sdq.pcm.gmf.seff.edit.commands.ForkAction2CreateCommand;
15import de.uka.ipd.sdq.pcm.gmf.seff.edit.commands.InternalAction2CreateCommand;
16import de.uka.ipd.sdq.pcm.gmf.seff.edit.commands.LoopAction2CreateCommand;
17import de.uka.ipd.sdq.pcm.gmf.seff.edit.commands.RecoveryAction2CreateCommand;
18import de.uka.ipd.sdq.pcm.gmf.seff.edit.commands.ReleaseAction2CreateCommand;
19import de.uka.ipd.sdq.pcm.gmf.seff.edit.commands.StartAction2CreateCommand;
20import de.uka.ipd.sdq.pcm.gmf.seff.edit.commands.StopAction2CreateCommand;
21import de.uka.ipd.sdq.pcm.gmf.seff.providers.PalladioComponentModelElementTypes;
22 
23/**
24 * @generated
25 */
26public class ForkedBehaviourBehaviourCompartmentItemSemanticEditPolicy extends
27                PalladioComponentModelBaseItemSemanticEditPolicy {
28 
29        /**
30         * @generated
31         */
32        public ForkedBehaviourBehaviourCompartmentItemSemanticEditPolicy() {
33                super(PalladioComponentModelElementTypes.ForkedBehaviour_3027);
34        }
35 
36        /**
37         * @generated
38         */
39        protected Command getCreateCommand(CreateElementRequest req) {
40                if (PalladioComponentModelElementTypes.StartAction_3004 == req
41                                .getElementType()) {
42                        return getGEFWrapper(new StartAction2CreateCommand(req));
43                }
44                if (PalladioComponentModelElementTypes.StopAction_3005 == req
45                                .getElementType()) {
46                        return getGEFWrapper(new StopAction2CreateCommand(req));
47                }
48                if (PalladioComponentModelElementTypes.LoopAction_3006 == req
49                                .getElementType()) {
50                        return getGEFWrapper(new LoopAction2CreateCommand(req));
51                }
52                if (PalladioComponentModelElementTypes.InternalAction_3007 == req
53                                .getElementType()) {
54                        return getGEFWrapper(new InternalAction2CreateCommand(req));
55                }
56                if (PalladioComponentModelElementTypes.BranchAction_3009 == req
57                                .getElementType()) {
58                        return getGEFWrapper(new BranchAction2CreateCommand(req));
59                }
60                if (PalladioComponentModelElementTypes.ExternalCallAction_3012 == req
61                                .getElementType()) {
62                        return getGEFWrapper(new ExternalCallAction2CreateCommand(req));
63                }
64                if (PalladioComponentModelElementTypes.EmitEventAction_3046 == req
65                                .getElementType()) {
66                        return getGEFWrapper(new EmitEventAction2CreateCommand(req));
67                }
68                if (PalladioComponentModelElementTypes.CollectionIteratorAction_3013 == req
69                                .getElementType()) {
70                        return getGEFWrapper(new CollectionIteratorAction2CreateCommand(req));
71                }
72                if (PalladioComponentModelElementTypes.AcquireAction_3026 == req
73                                .getElementType()) {
74                        return getGEFWrapper(new AcquireAction2CreateCommand(req));
75                }
76                if (PalladioComponentModelElementTypes.ReleaseAction_3020 == req
77                                .getElementType()) {
78                        return getGEFWrapper(new ReleaseAction2CreateCommand(req));
79                }
80                if (PalladioComponentModelElementTypes.ForkAction_3023 == req
81                                .getElementType()) {
82                        return getGEFWrapper(new ForkAction2CreateCommand(req));
83                }
84                if (PalladioComponentModelElementTypes.RecoveryAction_3057 == req
85                                .getElementType()) {
86                        return getGEFWrapper(new RecoveryAction2CreateCommand(req));
87                }
88                return super.getCreateCommand(req);
89        }
90 
91}

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