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

nameclass, %method, %block, %line, %
RecoveryActionBehaviourAlternativeBehaviourCompartmentItemSemanticEditPolicy.java0%   (0/1)0%   (0/2)0%   (0/151)0%   (0/42)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class RecoveryActionBehaviourAlternativeBehaviourCompartmentItemSemanticEditPolicy0%   (0/1)0%   (0/2)0%   (0/151)0%   (0/42)
RecoveryActionBehaviourAlternativeBehaviourCompartmentItemSemanticEditPolicy ... 0%   (0/1)0%   (0/4)0%   (0/2)
getCreateCommand (CreateElementRequest): Command 0%   (0/1)0%   (0/147)0%   (0/40)

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

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