| /******************************************************************************* |
| * Copyright (c) 2009, 2019 Xored Software Inc and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * https://www.eclipse.org/legal/epl-v20.html |
| * |
| * Contributors: |
| * Xored Software Inc - initial API and implementation and/or initial documentation |
| *******************************************************************************/ |
| package org.eclipse.rcptt.core.scenario.impl; |
| |
| import java.util.Map; |
| import org.eclipse.rcptt.core.scenario.Attachment; |
| import org.eclipse.rcptt.core.scenario.CapabilityContext; |
| import org.eclipse.rcptt.core.scenario.CapabilityContextItem; |
| import org.eclipse.rcptt.core.scenario.Context; |
| import org.eclipse.rcptt.core.scenario.Editor; |
| import org.eclipse.rcptt.core.scenario.FileEditor; |
| import org.eclipse.rcptt.core.scenario.GroupContext; |
| import org.eclipse.rcptt.core.scenario.NamedElement; |
| import org.eclipse.rcptt.core.scenario.ProjectMetadata; |
| import org.eclipse.rcptt.core.scenario.Scenario; |
| import org.eclipse.rcptt.core.scenario.ScenarioFactory; |
| import org.eclipse.rcptt.core.scenario.ScenarioPackage; |
| import org.eclipse.rcptt.core.scenario.ScenarioProperty; |
| import org.eclipse.rcptt.core.scenario.SuperContext; |
| import org.eclipse.rcptt.core.scenario.TestSuite; |
| import org.eclipse.rcptt.core.scenario.TestSuiteItem; |
| import org.eclipse.rcptt.core.scenario.UnresolvedContext; |
| import org.eclipse.rcptt.core.scenario.UnresolvedVerification; |
| import org.eclipse.rcptt.core.scenario.Verification; |
| import org.eclipse.rcptt.core.scenario.WidgetVerification; |
| import org.eclipse.rcptt.core.scenario.WorkbenchContext; |
| |
| import org.eclipse.rcptt.tesla.core.protocol.raw.RawPackage; |
| |
| import org.eclipse.emf.ecore.EAttribute; |
| import org.eclipse.emf.ecore.EClass; |
| import org.eclipse.emf.ecore.EPackage; |
| import org.eclipse.emf.ecore.EReference; |
| |
| import org.eclipse.emf.ecore.impl.EPackageImpl; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * An implementation of the model <b>Package</b>. |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public class ScenarioPackageImpl extends EPackageImpl implements ScenarioPackage { |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass namedElementEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass scenarioEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass scenarioPropertyEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass contextEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass workbenchContextEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass editorEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass fileEditorEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass groupContextEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass unresolvedContextEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass attachmentEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass testSuiteItemEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass testSuiteEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass projectMetadataEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass superContextEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass verificationEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass unresolvedVerificationEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass widgetVerificationEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass capabilityContextEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass capabilityContextItemEClass = null; |
| |
| /** |
| * Creates an instance of the model <b>Package</b>, registered with |
| * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package |
| * package URI value. |
| * <p>Note: the correct way to create the package is via the static |
| * factory method {@link #init init()}, which also performs |
| * initialization of the package, or returns the registered package, |
| * if one already exists. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see org.eclipse.emf.ecore.EPackage.Registry |
| * @see org.eclipse.rcptt.core.scenario.ScenarioPackage#eNS_URI |
| * @see #init() |
| * @generated |
| */ |
| private ScenarioPackageImpl() { |
| super(eNS_URI, ScenarioFactory.eINSTANCE); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private static boolean isInited = false; |
| |
| /** |
| * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. |
| * |
| * <p>This method is used to initialize {@link ScenarioPackage#eINSTANCE} when that field is accessed. |
| * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #eNS_URI |
| * @see #createPackageContents() |
| * @see #initializePackageContents() |
| * @generated |
| */ |
| public static ScenarioPackage init() { |
| if (isInited) return (ScenarioPackage)EPackage.Registry.INSTANCE.getEPackage(ScenarioPackage.eNS_URI); |
| |
| // Obtain or create and register package |
| ScenarioPackageImpl theScenarioPackage = (ScenarioPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ScenarioPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ScenarioPackageImpl()); |
| |
| isInited = true; |
| |
| // Initialize simple dependencies |
| RawPackage.eINSTANCE.eClass(); |
| |
| // Create package meta-data objects |
| theScenarioPackage.createPackageContents(); |
| |
| // Initialize created meta-data |
| theScenarioPackage.initializePackageContents(); |
| |
| // Mark meta-data to indicate it can't be changed |
| theScenarioPackage.freeze(); |
| |
| |
| // Update the registry and return the package |
| EPackage.Registry.INSTANCE.put(ScenarioPackage.eNS_URI, theScenarioPackage); |
| return theScenarioPackage; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getNamedElement() { |
| return namedElementEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getNamedElement_Name() { |
| return (EAttribute)namedElementEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getNamedElement_Version() { |
| return (EAttribute)namedElementEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getNamedElement_Id() { |
| return (EAttribute)namedElementEClass.getEStructuralFeatures().get(2); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getNamedElement_Description() { |
| return (EAttribute)namedElementEClass.getEStructuralFeatures().get(3); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getNamedElement_Tags() { |
| return (EAttribute)namedElementEClass.getEStructuralFeatures().get(4); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getNamedElement_Attachments() { |
| return (EReference)namedElementEClass.getEStructuralFeatures().get(5); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getScenario() { |
| return scenarioEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getScenario_Contexts() { |
| return (EAttribute)scenarioEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getScenario_Content() { |
| return (EReference)scenarioEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getScenario_TeslaContent() { |
| return (EReference)scenarioEClass.getEStructuralFeatures().get(2); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getScenario_ScenarioReferences() { |
| return (EAttribute)scenarioEClass.getEStructuralFeatures().get(3); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getScenario_RawSupported() { |
| return (EAttribute)scenarioEClass.getEStructuralFeatures().get(4); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getScenario_Type() { |
| return (EAttribute)scenarioEClass.getEStructuralFeatures().get(5); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getScenario_ExternalReference() { |
| return (EAttribute)scenarioEClass.getEStructuralFeatures().get(6); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getScenario_Verifications() { |
| return (EAttribute)scenarioEClass.getEStructuralFeatures().get(7); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getScenario_Properties() { |
| return (EReference)scenarioEClass.getEStructuralFeatures().get(8); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getScenarioProperty() { |
| return scenarioPropertyEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getScenarioProperty_Name() { |
| return (EAttribute)scenarioPropertyEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getScenarioProperty_Value() { |
| return (EAttribute)scenarioPropertyEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getContext() { |
| return contextEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getWorkbenchContext() { |
| return workbenchContextEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getWorkbenchContext_PerspectiveId() { |
| return (EAttribute)workbenchContextEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getWorkbenchContext_NoModalDialogs() { |
| return (EAttribute)workbenchContextEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getWorkbenchContext_CloseEditors() { |
| return (EAttribute)workbenchContextEClass.getEStructuralFeatures().get(2); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getWorkbenchContext_Editors() { |
| return (EReference)workbenchContextEClass.getEStructuralFeatures().get(3); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getWorkbenchContext_Views() { |
| return (EAttribute)workbenchContextEClass.getEStructuralFeatures().get(4); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getWorkbenchContext_ResetPerspective() { |
| return (EAttribute)workbenchContextEClass.getEStructuralFeatures().get(5); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getWorkbenchContext_ClearClipboard() { |
| return (EAttribute)workbenchContextEClass.getEStructuralFeatures().get(6); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getEditor() { |
| return editorEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getFileEditor() { |
| return fileEditorEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getFileEditor_Path() { |
| return (EAttribute)fileEditorEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getGroupContext() { |
| return groupContextEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getGroupContext_ContextReferences() { |
| return (EAttribute)groupContextEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getGroupContext_Contexts() { |
| return (EReference)groupContextEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getUnresolvedContext() { |
| return unresolvedContextEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getAttachment() { |
| return attachmentEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getAttachment_Type() { |
| return (EAttribute)attachmentEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getAttachment_Name() { |
| return (EAttribute)attachmentEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getAttachment_Data() { |
| return (EReference)attachmentEClass.getEStructuralFeatures().get(2); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getTestSuiteItem() { |
| return testSuiteItemEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getTestSuiteItem_NamedElementId() { |
| return (EAttribute)testSuiteItemEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getTestSuiteItem_NamedElemetName() { |
| return (EAttribute)testSuiteItemEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getTestSuiteItem_Kind() { |
| return (EAttribute)testSuiteItemEClass.getEStructuralFeatures().get(2); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getTestSuiteItem_Path() { |
| return (EAttribute)testSuiteItemEClass.getEStructuralFeatures().get(3); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getTestSuite() { |
| return testSuiteEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getTestSuite_Items() { |
| return (EReference)testSuiteEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getTestSuite_ManuallyOrdered() { |
| return (EAttribute)testSuiteEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getProjectMetadata() { |
| return projectMetadataEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getProjectMetadata_Contexts() { |
| return (EAttribute)projectMetadataEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getProjectMetadata_Ignores() { |
| return (EAttribute)projectMetadataEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getProjectMetadata_Verifications() { |
| return (EAttribute)projectMetadataEClass.getEStructuralFeatures().get(2); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getSuperContext() { |
| return superContextEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getSuperContext_ContextReferences() { |
| return (EAttribute)superContextEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getSuperContext_ChildType() { |
| return (EAttribute)superContextEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getVerification() { |
| return verificationEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getUnresolvedVerification() { |
| return unresolvedVerificationEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getWidgetVerification() { |
| return widgetVerificationEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getWidgetVerification_Selector() { |
| return (EAttribute)widgetVerificationEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getCapabilityContext() { |
| return capabilityContextEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getCapabilityContext_Items() { |
| return (EReference)capabilityContextEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getCapabilityContextItem() { |
| return capabilityContextItemEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getCapabilityContextItem_Capability() { |
| return (EAttribute)capabilityContextItemEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getCapabilityContextItem_ContextReferences() { |
| return (EAttribute)capabilityContextItemEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public ScenarioFactory getScenarioFactory() { |
| return (ScenarioFactory)getEFactoryInstance(); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private boolean isCreated = false; |
| |
| /** |
| * Creates the meta-model objects for the package. This method is |
| * guarded to have no affect on any invocation but its first. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void createPackageContents() { |
| if (isCreated) return; |
| isCreated = true; |
| |
| // Create classes and their features |
| namedElementEClass = createEClass(NAMED_ELEMENT); |
| createEAttribute(namedElementEClass, NAMED_ELEMENT__NAME); |
| createEAttribute(namedElementEClass, NAMED_ELEMENT__VERSION); |
| createEAttribute(namedElementEClass, NAMED_ELEMENT__ID); |
| createEAttribute(namedElementEClass, NAMED_ELEMENT__DESCRIPTION); |
| createEAttribute(namedElementEClass, NAMED_ELEMENT__TAGS); |
| createEReference(namedElementEClass, NAMED_ELEMENT__ATTACHMENTS); |
| |
| scenarioEClass = createEClass(SCENARIO); |
| createEAttribute(scenarioEClass, SCENARIO__CONTEXTS); |
| createEReference(scenarioEClass, SCENARIO__CONTENT); |
| createEReference(scenarioEClass, SCENARIO__TESLA_CONTENT); |
| createEAttribute(scenarioEClass, SCENARIO__SCENARIO_REFERENCES); |
| createEAttribute(scenarioEClass, SCENARIO__RAW_SUPPORTED); |
| createEAttribute(scenarioEClass, SCENARIO__TYPE); |
| createEAttribute(scenarioEClass, SCENARIO__EXTERNAL_REFERENCE); |
| createEAttribute(scenarioEClass, SCENARIO__VERIFICATIONS); |
| createEReference(scenarioEClass, SCENARIO__PROPERTIES); |
| |
| scenarioPropertyEClass = createEClass(SCENARIO_PROPERTY); |
| createEAttribute(scenarioPropertyEClass, SCENARIO_PROPERTY__NAME); |
| createEAttribute(scenarioPropertyEClass, SCENARIO_PROPERTY__VALUE); |
| |
| contextEClass = createEClass(CONTEXT); |
| |
| workbenchContextEClass = createEClass(WORKBENCH_CONTEXT); |
| createEAttribute(workbenchContextEClass, WORKBENCH_CONTEXT__PERSPECTIVE_ID); |
| createEAttribute(workbenchContextEClass, WORKBENCH_CONTEXT__NO_MODAL_DIALOGS); |
| createEAttribute(workbenchContextEClass, WORKBENCH_CONTEXT__CLOSE_EDITORS); |
| createEReference(workbenchContextEClass, WORKBENCH_CONTEXT__EDITORS); |
| createEAttribute(workbenchContextEClass, WORKBENCH_CONTEXT__VIEWS); |
| createEAttribute(workbenchContextEClass, WORKBENCH_CONTEXT__RESET_PERSPECTIVE); |
| createEAttribute(workbenchContextEClass, WORKBENCH_CONTEXT__CLEAR_CLIPBOARD); |
| |
| editorEClass = createEClass(EDITOR); |
| |
| fileEditorEClass = createEClass(FILE_EDITOR); |
| createEAttribute(fileEditorEClass, FILE_EDITOR__PATH); |
| |
| groupContextEClass = createEClass(GROUP_CONTEXT); |
| createEAttribute(groupContextEClass, GROUP_CONTEXT__CONTEXT_REFERENCES); |
| createEReference(groupContextEClass, GROUP_CONTEXT__CONTEXTS); |
| |
| unresolvedContextEClass = createEClass(UNRESOLVED_CONTEXT); |
| |
| attachmentEClass = createEClass(ATTACHMENT); |
| createEAttribute(attachmentEClass, ATTACHMENT__TYPE); |
| createEAttribute(attachmentEClass, ATTACHMENT__NAME); |
| createEReference(attachmentEClass, ATTACHMENT__DATA); |
| |
| testSuiteItemEClass = createEClass(TEST_SUITE_ITEM); |
| createEAttribute(testSuiteItemEClass, TEST_SUITE_ITEM__NAMED_ELEMENT_ID); |
| createEAttribute(testSuiteItemEClass, TEST_SUITE_ITEM__NAMED_ELEMET_NAME); |
| createEAttribute(testSuiteItemEClass, TEST_SUITE_ITEM__KIND); |
| createEAttribute(testSuiteItemEClass, TEST_SUITE_ITEM__PATH); |
| |
| testSuiteEClass = createEClass(TEST_SUITE); |
| createEReference(testSuiteEClass, TEST_SUITE__ITEMS); |
| createEAttribute(testSuiteEClass, TEST_SUITE__MANUALLY_ORDERED); |
| |
| projectMetadataEClass = createEClass(PROJECT_METADATA); |
| createEAttribute(projectMetadataEClass, PROJECT_METADATA__CONTEXTS); |
| createEAttribute(projectMetadataEClass, PROJECT_METADATA__IGNORES); |
| createEAttribute(projectMetadataEClass, PROJECT_METADATA__VERIFICATIONS); |
| |
| superContextEClass = createEClass(SUPER_CONTEXT); |
| createEAttribute(superContextEClass, SUPER_CONTEXT__CONTEXT_REFERENCES); |
| createEAttribute(superContextEClass, SUPER_CONTEXT__CHILD_TYPE); |
| |
| verificationEClass = createEClass(VERIFICATION); |
| |
| unresolvedVerificationEClass = createEClass(UNRESOLVED_VERIFICATION); |
| |
| widgetVerificationEClass = createEClass(WIDGET_VERIFICATION); |
| createEAttribute(widgetVerificationEClass, WIDGET_VERIFICATION__SELECTOR); |
| |
| capabilityContextEClass = createEClass(CAPABILITY_CONTEXT); |
| createEReference(capabilityContextEClass, CAPABILITY_CONTEXT__ITEMS); |
| |
| capabilityContextItemEClass = createEClass(CAPABILITY_CONTEXT_ITEM); |
| createEAttribute(capabilityContextItemEClass, CAPABILITY_CONTEXT_ITEM__CAPABILITY); |
| createEAttribute(capabilityContextItemEClass, CAPABILITY_CONTEXT_ITEM__CONTEXT_REFERENCES); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private boolean isInitialized = false; |
| |
| /** |
| * Complete the initialization of the package and its meta-model. This |
| * method is guarded to have no affect on any invocation but its first. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void initializePackageContents() { |
| if (isInitialized) return; |
| isInitialized = true; |
| |
| // Initialize package |
| setName(eNAME); |
| setNsPrefix(eNS_PREFIX); |
| setNsURI(eNS_URI); |
| |
| // Create type parameters |
| |
| // Set bounds for type parameters |
| |
| // Add supertypes to classes |
| scenarioEClass.getESuperTypes().add(this.getNamedElement()); |
| contextEClass.getESuperTypes().add(this.getNamedElement()); |
| workbenchContextEClass.getESuperTypes().add(this.getContext()); |
| fileEditorEClass.getESuperTypes().add(this.getEditor()); |
| groupContextEClass.getESuperTypes().add(this.getContext()); |
| unresolvedContextEClass.getESuperTypes().add(this.getContext()); |
| testSuiteEClass.getESuperTypes().add(this.getNamedElement()); |
| projectMetadataEClass.getESuperTypes().add(this.getNamedElement()); |
| superContextEClass.getESuperTypes().add(this.getContext()); |
| verificationEClass.getESuperTypes().add(this.getNamedElement()); |
| unresolvedVerificationEClass.getESuperTypes().add(this.getVerification()); |
| widgetVerificationEClass.getESuperTypes().add(this.getVerification()); |
| capabilityContextEClass.getESuperTypes().add(this.getContext()); |
| |
| // Initialize classes and features; add operations and parameters |
| initEClass(namedElementEClass, NamedElement.class, "NamedElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEAttribute(getNamedElement_Name(), ecorePackage.getEString(), "name", null, 0, 1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEAttribute(getNamedElement_Version(), ecorePackage.getEString(), "version", "2.0", 0, 1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEAttribute(getNamedElement_Id(), ecorePackage.getEString(), "id", null, 0, 1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEAttribute(getNamedElement_Description(), ecorePackage.getEString(), "description", null, 0, 1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEAttribute(getNamedElement_Tags(), ecorePackage.getEString(), "tags", "", 0, 1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEReference(getNamedElement_Attachments(), this.getAttachment(), null, "attachments", null, 0, -1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| |
| initEClass(scenarioEClass, Scenario.class, "Scenario", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEAttribute(getScenario_Contexts(), ecorePackage.getEString(), "contexts", null, 0, -1, Scenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEReference(getScenario_Content(), ecorePackage.getEObject(), null, "content", null, 0, 1, Scenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEReference(getScenario_TeslaContent(), ecorePackage.getEObject(), null, "teslaContent", null, 0, 1, Scenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEAttribute(getScenario_ScenarioReferences(), ecorePackage.getEString(), "scenarioReferences", null, 0, -1, Scenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEAttribute(getScenario_RawSupported(), ecorePackage.getEBoolean(), "rawSupported", "false", 0, 1, Scenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEAttribute(getScenario_Type(), ecorePackage.getEString(), "type", null, 0, 1, Scenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEAttribute(getScenario_ExternalReference(), ecorePackage.getEString(), "externalReference", "", 0, 1, Scenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEAttribute(getScenario_Verifications(), ecorePackage.getEString(), "verifications", null, 0, -1, Scenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEReference(getScenario_Properties(), this.getScenarioProperty(), null, "properties", null, 0, -1, Scenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| |
| initEClass(scenarioPropertyEClass, ScenarioProperty.class, "ScenarioProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEAttribute(getScenarioProperty_Name(), ecorePackage.getEString(), "name", null, 0, 1, ScenarioProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEAttribute(getScenarioProperty_Value(), ecorePackage.getEString(), "value", null, 0, 1, ScenarioProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| |
| initEClass(contextEClass, Context.class, "Context", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| |
| initEClass(workbenchContextEClass, WorkbenchContext.class, "WorkbenchContext", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEAttribute(getWorkbenchContext_PerspectiveId(), ecorePackage.getEString(), "perspectiveId", null, 0, 1, WorkbenchContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEAttribute(getWorkbenchContext_NoModalDialogs(), ecorePackage.getEBoolean(), "noModalDialogs", "true", 0, 1, WorkbenchContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEAttribute(getWorkbenchContext_CloseEditors(), ecorePackage.getEBoolean(), "closeEditors", "true", 0, 1, WorkbenchContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEReference(getWorkbenchContext_Editors(), this.getEditor(), null, "editors", null, 0, -1, WorkbenchContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEAttribute(getWorkbenchContext_Views(), ecorePackage.getEString(), "views", null, 0, -1, WorkbenchContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEAttribute(getWorkbenchContext_ResetPerspective(), ecorePackage.getEBoolean(), "resetPerspective", "true", 0, 1, WorkbenchContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEAttribute(getWorkbenchContext_ClearClipboard(), ecorePackage.getEBoolean(), "clearClipboard", "true", 0, 1, WorkbenchContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| |
| initEClass(editorEClass, Editor.class, "Editor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| |
| initEClass(fileEditorEClass, FileEditor.class, "FileEditor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEAttribute(getFileEditor_Path(), ecorePackage.getEString(), "path", null, 0, 1, FileEditor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| |
| initEClass(groupContextEClass, GroupContext.class, "GroupContext", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEAttribute(getGroupContext_ContextReferences(), ecorePackage.getEString(), "contextReferences", null, 0, -1, GroupContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEReference(getGroupContext_Contexts(), this.getContext(), null, "contexts", null, 0, -1, GroupContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| |
| initEClass(unresolvedContextEClass, UnresolvedContext.class, "UnresolvedContext", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| |
| initEClass(attachmentEClass, Attachment.class, "Attachment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEAttribute(getAttachment_Type(), ecorePackage.getEString(), "type", null, 0, 1, Attachment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEAttribute(getAttachment_Name(), ecorePackage.getEString(), "name", null, 0, 1, Attachment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEReference(getAttachment_Data(), ecorePackage.getEObject(), null, "data", null, 0, 1, Attachment.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| |
| initEClass(testSuiteItemEClass, TestSuiteItem.class, "TestSuiteItem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEAttribute(getTestSuiteItem_NamedElementId(), ecorePackage.getEString(), "NamedElementId", null, 0, 1, TestSuiteItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEAttribute(getTestSuiteItem_NamedElemetName(), ecorePackage.getEString(), "namedElemetName", null, 0, 1, TestSuiteItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEAttribute(getTestSuiteItem_Kind(), ecorePackage.getEString(), "kind", null, 0, 1, TestSuiteItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEAttribute(getTestSuiteItem_Path(), ecorePackage.getEString(), "path", null, 0, 1, TestSuiteItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| |
| initEClass(testSuiteEClass, TestSuite.class, "TestSuite", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEReference(getTestSuite_Items(), this.getTestSuiteItem(), null, "Items", null, 0, -1, TestSuite.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEAttribute(getTestSuite_ManuallyOrdered(), ecorePackage.getEBoolean(), "manuallyOrdered", "false", 0, 1, TestSuite.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| |
| initEClass(projectMetadataEClass, ProjectMetadata.class, "ProjectMetadata", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEAttribute(getProjectMetadata_Contexts(), ecorePackage.getEString(), "contexts", null, 0, -1, ProjectMetadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEAttribute(getProjectMetadata_Ignores(), ecorePackage.getEString(), "ignores", null, 0, -1, ProjectMetadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEAttribute(getProjectMetadata_Verifications(), ecorePackage.getEString(), "verifications", null, 0, -1, ProjectMetadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| |
| initEClass(superContextEClass, SuperContext.class, "SuperContext", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEAttribute(getSuperContext_ContextReferences(), ecorePackage.getEString(), "contextReferences", null, 0, -1, SuperContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEAttribute(getSuperContext_ChildType(), ecorePackage.getEString(), "childType", null, 0, 1, SuperContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| |
| initEClass(verificationEClass, Verification.class, "Verification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| |
| initEClass(unresolvedVerificationEClass, UnresolvedVerification.class, "UnresolvedVerification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| |
| initEClass(widgetVerificationEClass, WidgetVerification.class, "WidgetVerification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEAttribute(getWidgetVerification_Selector(), ecorePackage.getEString(), "selector", null, 1, 1, WidgetVerification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| |
| initEClass(capabilityContextEClass, CapabilityContext.class, "CapabilityContext", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEReference(getCapabilityContext_Items(), this.getCapabilityContextItem(), null, "items", null, 0, -1, CapabilityContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| |
| initEClass(capabilityContextItemEClass, CapabilityContextItem.class, "CapabilityContextItem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEAttribute(getCapabilityContextItem_Capability(), ecorePackage.getEString(), "Capability", null, 1, -1, CapabilityContextItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEAttribute(getCapabilityContextItem_ContextReferences(), ecorePackage.getEString(), "contextReferences", null, 0, -1, CapabilityContextItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| |
| // Create resource |
| createResource(eNS_URI); |
| } |
| |
| } //ScenarioPackageImpl |