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

COVERAGE SUMMARY FOR SOURCE FILE [ComposedProvidingRequiringEntityCompositeStructureInnerCompartmentItemSemanticEditPolicy.java]

nameclass, %method, %block, %line, %
ComposedProvidingRequiringEntityCompositeStructureInnerCompartmentItemSemanticEditPolicy.java0%   (0/1)0%   (0/2)0%   (0/19)0%   (0/7)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ComposedProvidingRequiringEntityCompositeStructureInnerCompartmentItemSemanticEditPolicy0%   (0/1)0%   (0/2)0%   (0/19)0%   (0/7)
ComposedProvidingRequiringEntityCompositeStructureInnerCompartmentItemSemanti... 0%   (0/1)0%   (0/4)0%   (0/3)
getCreateCommand (CreateElementRequest): Command 0%   (0/1)0%   (0/15)0%   (0/4)

1/*
2 *Copyright 2007, SDQ, IPD, Uni Karlsruhe (TH)
3 */
4package de.uka.ipd.sdq.pcm.gmf.composite.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.composite.edit.commands.AssemblyContextCreateCommand;
10import de.uka.ipd.sdq.pcm.gmf.composite.providers.PalladioComponentModelElementTypes;
11 
12/**
13 * @generated
14 */
15public class ComposedProvidingRequiringEntityCompositeStructureInnerCompartmentItemSemanticEditPolicy
16                extends PalladioComponentModelBaseItemSemanticEditPolicy {
17 
18        /**
19         * @generated
20         */
21        public ComposedProvidingRequiringEntityCompositeStructureInnerCompartmentItemSemanticEditPolicy() {
22                super(
23                                PalladioComponentModelElementTypes.ComposedProvidingRequiringEntity_2002);
24        }
25 
26        /**
27         * @generated
28         */
29        protected Command getCreateCommand(CreateElementRequest req) {
30                if (PalladioComponentModelElementTypes.AssemblyContext_3006 == req
31                                .getElementType()) {
32                        return getGEFWrapper(new AssemblyContextCreateCommand(req));
33                }
34                return super.getCreateCommand(req);
35        }
36}

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