Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen')
-rw-r--r--deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/PapyrusTableConfiguration.java136
-rw-r--r--deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/PapyrusTableConfigurationFactory.java52
-rw-r--r--deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/PapyrusTableConfigurationPackage.java256
-rw-r--r--deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/impl/PapyrusTableConfigurationFactoryImpl.java105
-rw-r--r--deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/impl/PapyrusTableConfigurationImpl.java352
-rw-r--r--deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/impl/PapyrusTableConfigurationPackageImpl.java232
-rw-r--r--deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/util/PapyrusTableConfigurationAdapterFactory.java153
-rw-r--r--deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/util/PapyrusTableConfigurationSwitch.java141
8 files changed, 0 insertions, 1427 deletions
diff --git a/deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/PapyrusTableConfiguration.java b/deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/PapyrusTableConfiguration.java
deleted file mode 100644
index f663c468e59..00000000000
--- a/deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/PapyrusTableConfiguration.java
+++ /dev/null
@@ -1,136 +0,0 @@
-/**
- * Copyright (c) 2012 CEA LIST.
- *
- *
- * 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
- * ttp://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EModelElement;
-import org.eclipse.emf.ecore.EReference;
-
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.facet.widgets.nattable.tableconfiguration2.TableConfiguration2;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Papyrus Table Configuration</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfiguration#getPastedElementContainmentFeature <em>Pasted Element Containment Feature</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfiguration#getPastedElementId <em>Pasted Element Id</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfiguration#getTableConfiguration <em>Table Configuration</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfiguration#getDefaultColumns <em>Default Columns</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfigurationPackage#getPapyrusTableConfiguration()
- * @model
- * @generated
- */
-public interface PapyrusTableConfiguration extends EModelElement {
- /**
- * Returns the value of the '<em><b>Pasted Element Containment Feature</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Pasted Element Containment Feature</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Pasted Element Containment Feature</em>' reference.
- * @see #setPastedElementContainmentFeature(EReference)
- * @see org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfigurationPackage#getPapyrusTableConfiguration_PastedElementContainmentFeature()
- * @model
- * @generated
- */
- EReference getPastedElementContainmentFeature();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfiguration#getPastedElementContainmentFeature <em>Pasted Element Containment Feature</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Pasted Element Containment Feature</em>' reference.
- * @see #getPastedElementContainmentFeature()
- * @generated
- */
- void setPastedElementContainmentFeature(EReference value);
-
- /**
- * Returns the value of the '<em><b>Pasted Element Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Pasted Element Id</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Pasted Element Id</em>' attribute.
- * @see #setPastedElementId(String)
- * @see org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfigurationPackage#getPapyrusTableConfiguration_PastedElementId()
- * @model
- * @generated
- */
- String getPastedElementId();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfiguration#getPastedElementId <em>Pasted Element Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Pasted Element Id</em>' attribute.
- * @see #getPastedElementId()
- * @generated
- */
- void setPastedElementId(String value);
-
- /**
- * Returns the value of the '<em><b>Table Configuration</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Table Configuration</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Table Configuration</em>' containment reference.
- * @see #setTableConfiguration(TableConfiguration2)
- * @see org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfigurationPackage#getPapyrusTableConfiguration_TableConfiguration()
- * @model containment="true"
- * @generated
- */
- TableConfiguration2 getTableConfiguration();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfiguration#getTableConfiguration <em>Table Configuration</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Table Configuration</em>' containment reference.
- * @see #getTableConfiguration()
- * @generated
- */
- void setTableConfiguration(TableConfiguration2 value);
-
- /**
- * Returns the value of the '<em><b>Default Columns</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.emf.ecore.EStructuralFeature}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Default Columns</em>' reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Default Columns</em>' reference list.
- * @see org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfigurationPackage#getPapyrusTableConfiguration_DefaultColumns()
- * @model
- * @generated
- */
- EList<EStructuralFeature> getDefaultColumns();
-
-} // PapyrusTableConfiguration
diff --git a/deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/PapyrusTableConfigurationFactory.java b/deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/PapyrusTableConfigurationFactory.java
deleted file mode 100644
index 9a247ad9767..00000000000
--- a/deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/PapyrusTableConfigurationFactory.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * Copyright (c) 2012 CEA LIST.
- *
- *
- * 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
- * ttp://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfigurationPackage
- * @generated
- */
-public interface PapyrusTableConfigurationFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- PapyrusTableConfigurationFactory eINSTANCE = org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.impl.PapyrusTableConfigurationFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Papyrus Table Configuration</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Papyrus Table Configuration</em>'.
- * @generated
- */
- PapyrusTableConfiguration createPapyrusTableConfiguration();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- PapyrusTableConfigurationPackage getPapyrusTableConfigurationPackage();
-
-} //PapyrusTableConfigurationFactory
diff --git a/deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/PapyrusTableConfigurationPackage.java b/deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/PapyrusTableConfigurationPackage.java
deleted file mode 100644
index 2905a69c2ff..00000000000
--- a/deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/PapyrusTableConfigurationPackage.java
+++ /dev/null
@@ -1,256 +0,0 @@
-/**
- * Copyright (c) 2012 CEA LIST.
- *
- *
- * 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
- * ttp://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration;
-
-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.EcorePackage;
-import org.eclipse.emf.facet.widgets.nattable.tableconfiguration2.Tableconfiguration2Package;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfigurationFactory
- * @model kind="package"
- * @generated
- */
-public interface PapyrusTableConfigurationPackage extends EPackage {
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "PapyrusTableConfiguration";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://www.eclipse.org/PapyrusTableInstance/0.9.1/papyrustableconfiguration";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "PapyrusTableConfiguration";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- PapyrusTableConfigurationPackage eINSTANCE = org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.impl.PapyrusTableConfigurationPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.impl.PapyrusTableConfigurationImpl <em>Papyrus Table Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.impl.PapyrusTableConfigurationImpl
- * @see org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.impl.PapyrusTableConfigurationPackageImpl#getPapyrusTableConfiguration()
- * @generated
- */
- int PAPYRUS_TABLE_CONFIGURATION = 0;
-
- /**
- * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_TABLE_CONFIGURATION__EANNOTATIONS = EcorePackage.EMODEL_ELEMENT__EANNOTATIONS;
-
- /**
- * The feature id for the '<em><b>Pasted Element Containment Feature</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_TABLE_CONFIGURATION__PASTED_ELEMENT_CONTAINMENT_FEATURE = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Pasted Element Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_TABLE_CONFIGURATION__PASTED_ELEMENT_ID = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Table Configuration</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_TABLE_CONFIGURATION__TABLE_CONFIGURATION = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Default Columns</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_TABLE_CONFIGURATION__DEFAULT_COLUMNS = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 3;
-
- /**
- * The number of structural features of the '<em>Papyrus Table Configuration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_TABLE_CONFIGURATION_FEATURE_COUNT = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 4;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfiguration <em>Papyrus Table Configuration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Papyrus Table Configuration</em>'.
- * @see org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfiguration
- * @generated
- */
- EClass getPapyrusTableConfiguration();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfiguration#getPastedElementContainmentFeature <em>Pasted Element Containment Feature</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Pasted Element Containment Feature</em>'.
- * @see org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfiguration#getPastedElementContainmentFeature()
- * @see #getPapyrusTableConfiguration()
- * @generated
- */
- EReference getPapyrusTableConfiguration_PastedElementContainmentFeature();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfiguration#getPastedElementId <em>Pasted Element Id</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Pasted Element Id</em>'.
- * @see org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfiguration#getPastedElementId()
- * @see #getPapyrusTableConfiguration()
- * @generated
- */
- EAttribute getPapyrusTableConfiguration_PastedElementId();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfiguration#getTableConfiguration <em>Table Configuration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Table Configuration</em>'.
- * @see org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfiguration#getTableConfiguration()
- * @see #getPapyrusTableConfiguration()
- * @generated
- */
- EReference getPapyrusTableConfiguration_TableConfiguration();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfiguration#getDefaultColumns <em>Default Columns</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>Default Columns</em>'.
- * @see org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfiguration#getDefaultColumns()
- * @see #getPapyrusTableConfiguration()
- * @generated
- */
- EReference getPapyrusTableConfiguration_DefaultColumns();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the factory that creates the instances of the model.
- * @generated
- */
- PapyrusTableConfigurationFactory getPapyrusTableConfigurationFactory();
-
- /**
- * <!-- begin-user-doc -->
- * Defines literals for the meta objects that represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @generated
- */
- interface Literals {
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.impl.PapyrusTableConfigurationImpl <em>Papyrus Table Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.impl.PapyrusTableConfigurationImpl
- * @see org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.impl.PapyrusTableConfigurationPackageImpl#getPapyrusTableConfiguration()
- * @generated
- */
- EClass PAPYRUS_TABLE_CONFIGURATION = eINSTANCE.getPapyrusTableConfiguration();
-
- /**
- * The meta object literal for the '<em><b>Pasted Element Containment Feature</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PAPYRUS_TABLE_CONFIGURATION__PASTED_ELEMENT_CONTAINMENT_FEATURE = eINSTANCE.getPapyrusTableConfiguration_PastedElementContainmentFeature();
-
- /**
- * The meta object literal for the '<em><b>Pasted Element Id</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PAPYRUS_TABLE_CONFIGURATION__PASTED_ELEMENT_ID = eINSTANCE.getPapyrusTableConfiguration_PastedElementId();
-
- /**
- * The meta object literal for the '<em><b>Table Configuration</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PAPYRUS_TABLE_CONFIGURATION__TABLE_CONFIGURATION = eINSTANCE.getPapyrusTableConfiguration_TableConfiguration();
-
- /**
- * The meta object literal for the '<em><b>Default Columns</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PAPYRUS_TABLE_CONFIGURATION__DEFAULT_COLUMNS = eINSTANCE.getPapyrusTableConfiguration_DefaultColumns();
-
- }
-
-} //PapyrusTableConfigurationPackage
diff --git a/deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/impl/PapyrusTableConfigurationFactoryImpl.java b/deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/impl/PapyrusTableConfigurationFactoryImpl.java
deleted file mode 100644
index caead4c87d7..00000000000
--- a/deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/impl/PapyrusTableConfigurationFactoryImpl.java
+++ /dev/null
@@ -1,105 +0,0 @@
-/**
- * Copyright (c) 2012 CEA LIST.
- *
- *
- * 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
- * ttp://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-
-import org.eclipse.emf.ecore.plugin.EcorePlugin;
-
-import org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.*;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class PapyrusTableConfigurationFactoryImpl extends EFactoryImpl implements PapyrusTableConfigurationFactory {
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static PapyrusTableConfigurationFactory init() {
- try {
- PapyrusTableConfigurationFactory thePapyrusTableConfigurationFactory = (PapyrusTableConfigurationFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/PapyrusTableInstance/0.9.1/papyrustableconfiguration");
- if (thePapyrusTableConfigurationFactory != null) {
- return thePapyrusTableConfigurationFactory;
- }
- }
- catch (Exception exception) {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new PapyrusTableConfigurationFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PapyrusTableConfigurationFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION: return createPapyrusTableConfiguration();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PapyrusTableConfiguration createPapyrusTableConfiguration() {
- PapyrusTableConfigurationImpl papyrusTableConfiguration = new PapyrusTableConfigurationImpl();
- return papyrusTableConfiguration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PapyrusTableConfigurationPackage getPapyrusTableConfigurationPackage() {
- return (PapyrusTableConfigurationPackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- @Deprecated
- public static PapyrusTableConfigurationPackage getPackage() {
- return PapyrusTableConfigurationPackage.eINSTANCE;
- }
-
-} //PapyrusTableConfigurationFactoryImpl
diff --git a/deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/impl/PapyrusTableConfigurationImpl.java b/deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/impl/PapyrusTableConfigurationImpl.java
deleted file mode 100644
index 895789137e7..00000000000
--- a/deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/impl/PapyrusTableConfigurationImpl.java
+++ /dev/null
@@ -1,352 +0,0 @@
-/**
- * Copyright (c) 2012 CEA LIST.
- *
- *
- * 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
- * ttp://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.impl;
-
-import java.util.Collection;
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.EModelElementImpl;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EObjectResolvingEList;
-import org.eclipse.emf.facet.widgets.nattable.tableconfiguration2.TableConfiguration2;
-import org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfiguration;
-import org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfigurationPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Papyrus Table Configuration</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.impl.PapyrusTableConfigurationImpl#getPastedElementContainmentFeature <em>Pasted Element Containment Feature</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.impl.PapyrusTableConfigurationImpl#getPastedElementId <em>Pasted Element Id</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.impl.PapyrusTableConfigurationImpl#getTableConfiguration <em>Table Configuration</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.impl.PapyrusTableConfigurationImpl#getDefaultColumns <em>Default Columns</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class PapyrusTableConfigurationImpl extends
-EModelElementImpl implements PapyrusTableConfiguration {
- /**
- * The cached value of the '{@link #getPastedElementContainmentFeature() <em>Pasted Element Containment Feature</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPastedElementContainmentFeature()
- * @generated
- * @ordered
- */
- protected EReference pastedElementContainmentFeature;
-
- /**
- * The default value of the '{@link #getPastedElementId() <em>Pasted Element Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPastedElementId()
- * @generated
- * @ordered
- */
- protected static final String PASTED_ELEMENT_ID_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getPastedElementId() <em>Pasted Element Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPastedElementId()
- * @generated
- * @ordered
- */
- protected String pastedElementId = PASTED_ELEMENT_ID_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getTableConfiguration() <em>Table Configuration</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTableConfiguration()
- * @generated
- * @ordered
- */
- protected TableConfiguration2 tableConfiguration;
-
- /**
- * The cached value of the '{@link #getDefaultColumns() <em>Default Columns</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDefaultColumns()
- * @generated
- * @ordered
- */
- protected EList<EStructuralFeature> defaultColumns;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected PapyrusTableConfigurationImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return PapyrusTableConfigurationPackage.Literals.PAPYRUS_TABLE_CONFIGURATION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPastedElementContainmentFeature() {
- if (pastedElementContainmentFeature != null && pastedElementContainmentFeature.eIsProxy()) {
- InternalEObject oldPastedElementContainmentFeature = (InternalEObject)pastedElementContainmentFeature;
- pastedElementContainmentFeature = (EReference)eResolveProxy(oldPastedElementContainmentFeature);
- if (pastedElementContainmentFeature != oldPastedElementContainmentFeature) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__PASTED_ELEMENT_CONTAINMENT_FEATURE, oldPastedElementContainmentFeature, pastedElementContainmentFeature));
- }
- }
- return pastedElementContainmentFeature;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference basicGetPastedElementContainmentFeature() {
- return pastedElementContainmentFeature;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPastedElementContainmentFeature(EReference newPastedElementContainmentFeature) {
- EReference oldPastedElementContainmentFeature = pastedElementContainmentFeature;
- pastedElementContainmentFeature = newPastedElementContainmentFeature;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__PASTED_ELEMENT_CONTAINMENT_FEATURE, oldPastedElementContainmentFeature, pastedElementContainmentFeature));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getPastedElementId() {
- return pastedElementId;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPastedElementId(String newPastedElementId) {
- String oldPastedElementId = pastedElementId;
- pastedElementId = newPastedElementId;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__PASTED_ELEMENT_ID, oldPastedElementId, pastedElementId));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TableConfiguration2 getTableConfiguration() {
- return tableConfiguration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetTableConfiguration(TableConfiguration2 newTableConfiguration, NotificationChain msgs) {
- TableConfiguration2 oldTableConfiguration = tableConfiguration;
- tableConfiguration = newTableConfiguration;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__TABLE_CONFIGURATION, oldTableConfiguration, newTableConfiguration);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTableConfiguration(TableConfiguration2 newTableConfiguration) {
- if (newTableConfiguration != tableConfiguration) {
- NotificationChain msgs = null;
- if (tableConfiguration != null)
- msgs = ((InternalEObject)tableConfiguration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__TABLE_CONFIGURATION, null, msgs);
- if (newTableConfiguration != null)
- msgs = ((InternalEObject)newTableConfiguration).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__TABLE_CONFIGURATION, null, msgs);
- msgs = basicSetTableConfiguration(newTableConfiguration, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__TABLE_CONFIGURATION, newTableConfiguration, newTableConfiguration));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<EStructuralFeature> getDefaultColumns() {
- if (defaultColumns == null) {
- defaultColumns = new EObjectResolvingEList<EStructuralFeature>(EStructuralFeature.class, this, PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__DEFAULT_COLUMNS);
- }
- return defaultColumns;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__TABLE_CONFIGURATION:
- return basicSetTableConfiguration(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__PASTED_ELEMENT_CONTAINMENT_FEATURE:
- if (resolve) return getPastedElementContainmentFeature();
- return basicGetPastedElementContainmentFeature();
- case PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__PASTED_ELEMENT_ID:
- return getPastedElementId();
- case PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__TABLE_CONFIGURATION:
- return getTableConfiguration();
- case PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__DEFAULT_COLUMNS:
- return getDefaultColumns();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__PASTED_ELEMENT_CONTAINMENT_FEATURE:
- setPastedElementContainmentFeature((EReference)newValue);
- return;
- case PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__PASTED_ELEMENT_ID:
- setPastedElementId((String)newValue);
- return;
- case PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__TABLE_CONFIGURATION:
- setTableConfiguration((TableConfiguration2)newValue);
- return;
- case PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__DEFAULT_COLUMNS:
- getDefaultColumns().clear();
- getDefaultColumns().addAll((Collection<? extends EStructuralFeature>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__PASTED_ELEMENT_CONTAINMENT_FEATURE:
- setPastedElementContainmentFeature((EReference)null);
- return;
- case PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__PASTED_ELEMENT_ID:
- setPastedElementId(PASTED_ELEMENT_ID_EDEFAULT);
- return;
- case PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__TABLE_CONFIGURATION:
- setTableConfiguration((TableConfiguration2)null);
- return;
- case PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__DEFAULT_COLUMNS:
- getDefaultColumns().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__PASTED_ELEMENT_CONTAINMENT_FEATURE:
- return pastedElementContainmentFeature != null;
- case PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__PASTED_ELEMENT_ID:
- return PASTED_ELEMENT_ID_EDEFAULT == null ? pastedElementId != null : !PASTED_ELEMENT_ID_EDEFAULT.equals(pastedElementId);
- case PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__TABLE_CONFIGURATION:
- return tableConfiguration != null;
- case PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__DEFAULT_COLUMNS:
- return defaultColumns != null && !defaultColumns.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (pastedElementId: ");
- result.append(pastedElementId);
- result.append(')');
- return result.toString();
- }
-
-} //PapyrusTableConfigurationImpl
diff --git a/deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/impl/PapyrusTableConfigurationPackageImpl.java b/deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/impl/PapyrusTableConfigurationPackageImpl.java
deleted file mode 100644
index 3a4bd875d25..00000000000
--- a/deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/impl/PapyrusTableConfigurationPackageImpl.java
+++ /dev/null
@@ -1,232 +0,0 @@
-/**
- * Copyright (c) 2012 CEA LIST.
- *
- *
- * 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
- * ttp://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.impl;
-
-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.EcorePackage;
-
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-
-import org.eclipse.emf.facet.widgets.nattable.tableconfiguration2.Tableconfiguration2Package;
-
-import org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfiguration;
-import org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfigurationFactory;
-import org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfigurationPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class PapyrusTableConfigurationPackageImpl extends EPackageImpl implements PapyrusTableConfigurationPackage {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass papyrusTableConfigurationEClass = 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.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfigurationPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private PapyrusTableConfigurationPackageImpl() {
- super(eNS_URI, PapyrusTableConfigurationFactory.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 PapyrusTableConfigurationPackage#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 PapyrusTableConfigurationPackage init() {
- if (isInited) return (PapyrusTableConfigurationPackage)EPackage.Registry.INSTANCE.getEPackage(PapyrusTableConfigurationPackage.eNS_URI);
-
- // Obtain or create and register package
- PapyrusTableConfigurationPackageImpl thePapyrusTableConfigurationPackage = (PapyrusTableConfigurationPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof PapyrusTableConfigurationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new PapyrusTableConfigurationPackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- Tableconfiguration2Package.eINSTANCE.eClass();
-
- // Create package meta-data objects
- thePapyrusTableConfigurationPackage.createPackageContents();
-
- // Initialize created meta-data
- thePapyrusTableConfigurationPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- thePapyrusTableConfigurationPackage.freeze();
-
-
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(PapyrusTableConfigurationPackage.eNS_URI, thePapyrusTableConfigurationPackage);
- return thePapyrusTableConfigurationPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getPapyrusTableConfiguration() {
- return papyrusTableConfigurationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPapyrusTableConfiguration_PastedElementContainmentFeature() {
- return (EReference)papyrusTableConfigurationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPapyrusTableConfiguration_PastedElementId() {
- return (EAttribute)papyrusTableConfigurationEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPapyrusTableConfiguration_TableConfiguration() {
- return (EReference)papyrusTableConfigurationEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPapyrusTableConfiguration_DefaultColumns() {
- return (EReference)papyrusTableConfigurationEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PapyrusTableConfigurationFactory getPapyrusTableConfigurationFactory() {
- return (PapyrusTableConfigurationFactory)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
- papyrusTableConfigurationEClass = createEClass(PAPYRUS_TABLE_CONFIGURATION);
- createEReference(papyrusTableConfigurationEClass, PAPYRUS_TABLE_CONFIGURATION__PASTED_ELEMENT_CONTAINMENT_FEATURE);
- createEAttribute(papyrusTableConfigurationEClass, PAPYRUS_TABLE_CONFIGURATION__PASTED_ELEMENT_ID);
- createEReference(papyrusTableConfigurationEClass, PAPYRUS_TABLE_CONFIGURATION__TABLE_CONFIGURATION);
- createEReference(papyrusTableConfigurationEClass, PAPYRUS_TABLE_CONFIGURATION__DEFAULT_COLUMNS);
- }
-
- /**
- * <!-- 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);
-
- // Obtain other dependent packages
- EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
- Tableconfiguration2Package theTableconfiguration2Package = (Tableconfiguration2Package)EPackage.Registry.INSTANCE.getEPackage(Tableconfiguration2Package.eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
- papyrusTableConfigurationEClass.getESuperTypes().add(theEcorePackage.getEModelElement());
-
- // Initialize classes and features; add operations and parameters
- initEClass(papyrusTableConfigurationEClass, PapyrusTableConfiguration.class, "PapyrusTableConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getPapyrusTableConfiguration_PastedElementContainmentFeature(), theEcorePackage.getEReference(), null, "pastedElementContainmentFeature", null, 0, 1, PapyrusTableConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getPapyrusTableConfiguration_PastedElementId(), theEcorePackage.getEString(), "pastedElementId", null, 0, 1, PapyrusTableConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPapyrusTableConfiguration_TableConfiguration(), theTableconfiguration2Package.getTableConfiguration2(), null, "TableConfiguration", null, 0, 1, PapyrusTableConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPapyrusTableConfiguration_DefaultColumns(), theEcorePackage.getEStructuralFeature(), null, "defaultColumns", null, 0, -1, PapyrusTableConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- // Create resource
- createResource(eNS_URI);
- }
-
-} //PapyrusTableConfigurationPackageImpl
diff --git a/deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/util/PapyrusTableConfigurationAdapterFactory.java b/deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/util/PapyrusTableConfigurationAdapterFactory.java
deleted file mode 100644
index 2b615b2046d..00000000000
--- a/deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/util/PapyrusTableConfigurationAdapterFactory.java
+++ /dev/null
@@ -1,153 +0,0 @@
-/**
- * Copyright (c) 2012 CEA LIST.
- *
- *
- * 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
- * ttp://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.util;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-
-import org.eclipse.emf.ecore.EModelElement;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.facet.widgets.nattable.tableconfiguration.TableConfiguration;
-
-import org.eclipse.emf.facet.widgets.nattable.tableconfiguration2.TableConfiguration2;
-
-import org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.*;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Adapter Factory</b> for the model.
- * It provides an adapter <code>createXXX</code> method for each class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfigurationPackage
- * @generated
- */
-public class PapyrusTableConfigurationAdapterFactory extends AdapterFactoryImpl {
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static PapyrusTableConfigurationPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PapyrusTableConfigurationAdapterFactory() {
- if (modelPackage == null) {
- modelPackage = PapyrusTableConfigurationPackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc -->
- * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
- * <!-- end-user-doc -->
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- @Override
- public boolean isFactoryForType(Object object) {
- if (object == modelPackage) {
- return true;
- }
- if (object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch that delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected PapyrusTableConfigurationSwitch<Adapter> modelSwitch =
- new PapyrusTableConfigurationSwitch<Adapter>() {
- @Override
- public Adapter casePapyrusTableConfiguration(PapyrusTableConfiguration object) {
- return createPapyrusTableConfigurationAdapter();
- }
- @Override
- public Adapter caseEModelElement(EModelElement object) {
- return createEModelElementAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the <code>target</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param target the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @generated
- */
- @Override
- public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject)target);
- }
-
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfiguration <em>Papyrus Table Configuration</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfiguration
- * @generated
- */
- public Adapter createPapyrusTableConfigurationAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.ecore.EModelElement <em>EModel Element</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.ecore.EModelElement
- * @generated
- */
- public Adapter createEModelElementAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
- * This default implementation returns null.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter() {
- return null;
- }
-
-} //PapyrusTableConfigurationAdapterFactory
diff --git a/deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/util/PapyrusTableConfigurationSwitch.java b/deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/util/PapyrusTableConfigurationSwitch.java
deleted file mode 100644
index 610136a9f48..00000000000
--- a/deprecated/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/util/PapyrusTableConfigurationSwitch.java
+++ /dev/null
@@ -1,141 +0,0 @@
-/**
- * Copyright (c) 2012 CEA LIST.
- *
- *
- * 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
- * ttp://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) Vincent.Lorenzo@cea.fr - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.util;
-
-import org.eclipse.emf.ecore.EModelElement;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-
-import org.eclipse.emf.ecore.util.Switch;
-
-import org.eclipse.emf.facet.widgets.nattable.tableconfiguration.TableConfiguration;
-
-import org.eclipse.emf.facet.widgets.nattable.tableconfiguration2.TableConfiguration2;
-
-import org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.*;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
- * to invoke the <code>caseXXX</code> method for each class of the model,
- * starting with the actual class of the object
- * and proceeding up the inheritance hierarchy
- * until a non-null result is returned,
- * which is the result of the switch.
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfigurationPackage
- * @generated
- */
-public class PapyrusTableConfigurationSwitch<T> extends Switch<T> {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static PapyrusTableConfigurationPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PapyrusTableConfigurationSwitch() {
- if (modelPackage == null) {
- modelPackage = PapyrusTableConfigurationPackage.eINSTANCE;
- }
- }
-
- /**
- * Checks whether this is a switch for the given package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @parameter ePackage the package in question.
- * @return whether this is a switch for the given package.
- * @generated
- */
- @Override
- protected boolean isSwitchFor(EPackage ePackage) {
- return ePackage == modelPackage;
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- @Override
- protected T doSwitch(int classifierID, EObject theEObject) {
- switch (classifierID) {
- case PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION: {
- PapyrusTableConfiguration papyrusTableConfiguration = (PapyrusTableConfiguration)theEObject;
- T result = casePapyrusTableConfiguration(papyrusTableConfiguration);
- if (result == null) result = caseEModelElement(papyrusTableConfiguration);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Papyrus Table Configuration</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Papyrus Table Configuration</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePapyrusTableConfiguration(PapyrusTableConfiguration object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>EModel Element</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>EModel Element</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseEModelElement(EModelElement object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- @Override
- public T defaultCase(EObject object) {
- return null;
- }
-
-} //PapyrusTableConfigurationSwitch

Back to the top