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

COVERAGE SUMMARY FOR SOURCE FILE [ProvidedDelegationConnectorEditHelper.java]

nameclass, %method, %block, %line, %
ProvidedDelegationConnectorEditHelper.java0%   (0/1)0%   (0/2)0%   (0/64)0%   (0/15)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ProvidedDelegationConnectorEditHelper0%   (0/1)0%   (0/2)0%   (0/64)0%   (0/15)
ProvidedDelegationConnectorEditHelper (): void 0%   (0/1)0%   (0/3)0%   (0/1)
getConfigureCommand (ConfigureRequest): ICommand 0%   (0/1)0%   (0/61)0%   (0/14)

1/*
2 *Copyright 2007, SDQ, IPD, Uni Karlsruhe (TH)
3 */
4package de.uka.ipd.sdq.pcm.gmf.composite.edit.helpers;
5 
6import org.eclipse.gmf.runtime.common.core.command.ICommand;
7import org.eclipse.gmf.runtime.emf.type.core.commands.SetValueCommand;
8import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest;
9import org.eclipse.gmf.runtime.emf.type.core.requests.SetRequest;
10 
11import de.uka.ipd.sdq.pcm.core.composition.ProvidedDelegationConnector;
12import de.uka.ipd.sdq.pcm.core.entity.EntityPackage;
13 
14/**
15 * @generated not
16 */
17public class ProvidedDelegationConnectorEditHelper extends
18                PalladioComponentModelBaseEditHelper {
19 
20        @Override
21        protected ICommand getConfigureCommand(ConfigureRequest req) {
22                ProvidedDelegationConnector con = (ProvidedDelegationConnector) req
23                                .getElementToConfigure();
24                String name = "ProvDelegation ";
25                name += con.getOuterProvidedRole_ProvidedDelegationConnector() == null ? ""
26                                : con.getOuterProvidedRole_ProvidedDelegationConnector()
27                                                .getEntityName();
28                name += " -> ";
29                name += con.getInnerProvidedRole_ProvidedDelegationConnector() == null ? ""
30                                : con.getInnerProvidedRole_ProvidedDelegationConnector()
31                                                .getEntityName();
32 
33                ICommand cmd2 = new SetValueCommand(new SetRequest(req
34                                .getElementToConfigure(), EntityPackage.eINSTANCE
35                                .getNamedElement_EntityName(), name));
36                return cmd2;
37        }
38}

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