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

COVERAGE SUMMARY FOR SOURCE FILE [AllocationContextItemSemanticEditPolicy.java]

nameclass, %method, %block, %line, %
AllocationContextItemSemanticEditPolicy.java0%   (0/1)0%   (0/2)0%   (0/20)0%   (0/5)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class AllocationContextItemSemanticEditPolicy0%   (0/1)0%   (0/2)0%   (0/20)0%   (0/5)
AllocationContextItemSemanticEditPolicy (): void 0%   (0/1)0%   (0/3)0%   (0/1)
getDestroyElementCommand (DestroyElementRequest): Command 0%   (0/1)0%   (0/17)0%   (0/4)

1/*
2 * Copyright 2007, SDQ, IPD, U KA
3 */
4package de.uka.ipd.sdq.pcm.gmf.allocation.edit.policies;
5 
6import java.util.ArrayList;
7import java.util.Collection;
8import java.util.Collections;
9import java.util.Iterator;
10 
11import org.eclipse.gef.EditPart;
12import org.eclipse.gef.commands.Command;
13import org.eclipse.gef.commands.CompoundCommand;
14import org.eclipse.gmf.runtime.diagram.ui.requests.EditCommandRequestWrapper;
15import org.eclipse.gmf.runtime.emf.type.core.commands.DestroyElementCommand;
16import org.eclipse.gmf.runtime.emf.type.core.requests.DestroyElementRequest;
17import org.eclipse.gmf.runtime.notation.Edge;
18import org.eclipse.gmf.runtime.notation.View;
19 
20import de.uka.ipd.sdq.pcm.gmf.allocation.edit.parts.AllocationContextEditPart;
21 
22/**
23 * @generated
24 */
25public class AllocationContextItemSemanticEditPolicy extends
26                PalladioComponentModelBaseItemSemanticEditPolicy {
27 
28        /**
29         * @generated
30         */
31        protected Command getDestroyElementCommand(DestroyElementRequest req) {
32                CompoundCommand cc = getDestroyEdgesCommand();
33                addDestroyShortcutsCommand(cc);
34                cc.add(getGEFWrapper(new DestroyElementCommand(req)));
35                return cc.unwrap();
36        }
37 
38}

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