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

nameclass, %method, %block, %line, %
ResourceDemandingBehaviourBehaviourCompartmentItemSemanticEditPolicy.java0%   (0/1)0%   (0/2)0%   (0/151)0%   (0/43)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ResourceDemandingBehaviourBehaviourCompartmentItemSemanticEditPolicy0%   (0/1)0%   (0/2)0%   (0/151)0%   (0/43)
ResourceDemandingBehaviourBehaviourCompartmentItemSemanticEditPolicy (): void 0%   (0/1)0%   (0/4)0%   (0/3)
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 ResourceDemandingBehaviourBehaviourCompartmentItemSemanticEditPolicy
28                extends PalladioComponentModelBaseItemSemanticEditPolicy {
29 
30        /**
31         * @generated
32         */
33        public ResourceDemandingBehaviourBehaviourCompartmentItemSemanticEditPolicy() {
34                super(
35                                PalladioComponentModelElementTypes.ResourceDemandingBehaviour_3003);
36        }
37 
38        /**
39         * @generated
40         */
41        protected Command getCreateCommand(CreateElementRequest req) {
42                if (PalladioComponentModelElementTypes.StartAction_3004 == req
43                                .getElementType()) {
44                        return getGEFWrapper(new StartAction2CreateCommand(req));
45                }
46                if (PalladioComponentModelElementTypes.StopAction_3005 == req
47                                .getElementType()) {
48                        return getGEFWrapper(new StopAction2CreateCommand(req));
49                }
50                if (PalladioComponentModelElementTypes.LoopAction_3006 == req
51                                .getElementType()) {
52                        return getGEFWrapper(new LoopAction2CreateCommand(req));
53                }
54                if (PalladioComponentModelElementTypes.InternalAction_3007 == req
55                                .getElementType()) {
56                        return getGEFWrapper(new InternalAction2CreateCommand(req));
57                }
58                if (PalladioComponentModelElementTypes.BranchAction_3009 == req
59                                .getElementType()) {
60                        return getGEFWrapper(new BranchAction2CreateCommand(req));
61                }
62                if (PalladioComponentModelElementTypes.ExternalCallAction_3012 == req
63                                .getElementType()) {
64                        return getGEFWrapper(new ExternalCallAction2CreateCommand(req));
65                }
66                if (PalladioComponentModelElementTypes.EmitEventAction_3046 == req
67                                .getElementType()) {
68                        return getGEFWrapper(new EmitEventAction2CreateCommand(req));
69                }
70                if (PalladioComponentModelElementTypes.CollectionIteratorAction_3013 == req
71                                .getElementType()) {
72                        return getGEFWrapper(new CollectionIteratorAction2CreateCommand(req));
73                }
74                if (PalladioComponentModelElementTypes.AcquireAction_3026 == req
75                                .getElementType()) {
76                        return getGEFWrapper(new AcquireAction2CreateCommand(req));
77                }
78                if (PalladioComponentModelElementTypes.ReleaseAction_3020 == req
79                                .getElementType()) {
80                        return getGEFWrapper(new ReleaseAction2CreateCommand(req));
81                }
82                if (PalladioComponentModelElementTypes.ForkAction_3023 == req
83                                .getElementType()) {
84                        return getGEFWrapper(new ForkAction2CreateCommand(req));
85                }
86                if (PalladioComponentModelElementTypes.SetVariableAction_3024 == req
87                                .getElementType()) {
88                        return getGEFWrapper(new SetVariableAction2CreateCommand(req));
89                }
90                if (PalladioComponentModelElementTypes.RecoveryAction_3057 == req
91                                .getElementType()) {
92                        return getGEFWrapper(new RecoveryAction2CreateCommand(req));
93                }
94                return super.getCreateCommand(req);
95        }
96 
97}

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