EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.uka.ipd.sdq.pcmbench.tabs]

COVERAGE SUMMARY FOR SOURCE FILE [ComponentPropertySection.java]

nameclass, %method, %block, %line, %
ComponentPropertySection.java0%   (0/1)0%   (0/3)0%   (0/28)0%   (0/6)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ComponentPropertySection0%   (0/1)0%   (0/3)0%   (0/28)0%   (0/6)
ComponentPropertySection (): void 0%   (0/1)0%   (0/3)0%   (0/1)
getEClassToEdit (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getEditableTextFields (): Collection 0%   (0/1)0%   (0/22)0%   (0/4)

1/**
2 * 
3 */
4package de.uka.ipd.sdq.pcmbench.tabs;
5 
6import java.util.ArrayList;
7import java.util.Collection;
8 
9import org.eclipse.emf.ecore.EClass;
10 
11import de.uka.ipd.sdq.pcm.repository.RepositoryPackage;
12 
13/**
14 * @author Snowball
15 * This class provides a property sheet section to edit ProvidesComponentTypes
16 */
17public class ComponentPropertySection extends GenericEMFPropertySection {
18 
19        @Override
20        protected EClass getEClassToEdit() {
21                return RepositoryPackage.eINSTANCE.getProvidesComponentType();
22        }
23 
24        @Override
25        protected Collection<EMFPropertySectionFieldInfo> getEditableTextFields() {
26                Collection<EMFPropertySectionFieldInfo> infos = new ArrayList<EMFPropertySectionFieldInfo>();
27                infos.add(new EMFPropertySectionFieldInfo(RepositoryPackage.PROVIDES_COMPONENT_TYPE__ENTITY_NAME,"Name"));
28                infos.add(new EMFPropertySectionFieldInfo(RepositoryPackage.PROVIDES_COMPONENT_TYPE__ID,"ID"));
29                return infos;
30        }        
31}

[all classes][de.uka.ipd.sdq.pcmbench.tabs]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov