Commit 8a55284a authored by Martti Käärik's avatar Martti Käärik
Browse files

Added missing functions re 9b2f2901

Change-Id: Ibe453cb575872fb494fda2de51cc35116350b44a
parent 9c72a826
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ import org.eclipse.emf.ecore.EClassifier;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.sirius.diagram.DDiagramElement;
import org.etsi.mts.tdl.Action;
import org.etsi.mts.tdl.AnnotationType;
import org.etsi.mts.tdl.Behaviour;
import org.etsi.mts.tdl.BehaviourDescription;
import org.etsi.mts.tdl.ComponentInstance;
@@ -93,10 +94,18 @@ public class ModelHelper {
		return (List<DataInstance>) getOf(context, tdlPackage.eINSTANCE.getDataInstance());
	}

	public List<TestConfiguration> getTestConfigurations(EObject context) {
		return (List<TestConfiguration>) getOf(context, tdlPackage.eINSTANCE.getTestConfiguration());
	}

	public List<ComponentType> getComponentTypes(EObject context) {
		return (List<ComponentType>) getOf(context, tdlPackage.eINSTANCE.getComponentType());
	}

	public List<AnnotationType> getAnnotationTypes(EObject context) {
		return (List<AnnotationType>) getOf(context, tdlPackage.eINSTANCE.getAnnotationType());
	}

	public List<GateType> getGateTypes(EObject context) {
		return (List<GateType>) getOf(context, tdlPackage.eINSTANCE.getGateType());
	}