Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlorenzo2012-11-28 13:27:31 +0000
committervlorenzo2012-11-28 13:27:31 +0000
commit55fe5b98f106fb943493dbc7932aaea1f869ad91 (patch)
treec8d14f3fc63f9ba7ceca31d4b0d8219c7087d5ad /plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen
parent465e9b0e0dc72b78e3557d4f6d91ed389296dd34 (diff)
downloadorg.eclipse.papyrus-55fe5b98f106fb943493dbc7932aaea1f869ad91.tar.gz
org.eclipse.papyrus-55fe5b98f106fb943493dbc7932aaea1f869ad91.tar.xz
org.eclipse.papyrus-55fe5b98f106fb943493dbc7932aaea1f869ad91.zip
394747: New features developped on EFacet Table should be backported on the old version of the EMF Facet table
https://bugs.eclipse.org/bugs/show_bug.cgi?id=394747
Diffstat (limited to 'plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen')
-rw-r--r--plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/PapyrusTableConfiguration.java117
-rw-r--r--plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/PapyrusTableConfigurationFactory.java52
-rw-r--r--plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/PapyrusTableConfigurationPackage.java228
-rw-r--r--plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/impl/PapyrusTableConfigurationFactoryImpl.java105
-rw-r--r--plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/impl/PapyrusTableConfigurationImpl.java313
-rw-r--r--plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/impl/PapyrusTableConfigurationPackageImpl.java221
-rw-r--r--plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/util/PapyrusTableConfigurationAdapterFactory.java153
-rw-r--r--plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/util/PapyrusTableConfigurationSwitch.java141
8 files changed, 1330 insertions, 0 deletions
diff --git a/plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/PapyrusTableConfiguration.java b/plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/PapyrusTableConfiguration.java
new file mode 100644
index 00000000000..635bc2b67fe
--- /dev/null
+++ b/plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/PapyrusTableConfiguration.java
@@ -0,0 +1,117 @@
+/**
+ * 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.EModelElement;
+import org.eclipse.emf.ecore.EReference;
+
+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#getPasteElementContainementFeature <em>Paste Element Containement 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>
+ * </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>Paste Element Containement Feature</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Paste Element Containement 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>Paste Element Containement Feature</em>' reference.
+ * @see #setPasteElementContainementFeature(EReference)
+ * @see org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfigurationPackage#getPapyrusTableConfiguration_PasteElementContainementFeature()
+ * @model
+ * @generated
+ */
+ EReference getPasteElementContainementFeature();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfiguration#getPasteElementContainementFeature <em>Paste Element Containement Feature</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Paste Element Containement Feature</em>' reference.
+ * @see #getPasteElementContainementFeature()
+ * @generated
+ */
+ void setPasteElementContainementFeature(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);
+
+} // PapyrusTableConfiguration
diff --git a/plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/PapyrusTableConfigurationFactory.java b/plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/PapyrusTableConfigurationFactory.java
new file mode 100644
index 00000000000..9a247ad9767
--- /dev/null
+++ b/plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/PapyrusTableConfigurationFactory.java
@@ -0,0 +1,52 @@
+/**
+ * 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/plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/PapyrusTableConfigurationPackage.java b/plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/PapyrusTableConfigurationPackage.java
new file mode 100644
index 00000000000..f851dab61d1
--- /dev/null
+++ b/plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/PapyrusTableConfigurationPackage.java
@@ -0,0 +1,228 @@
+/**
+ * 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>Paste Element Containement Feature</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PAPYRUS_TABLE_CONFIGURATION__PASTE_ELEMENT_CONTAINEMENT_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 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 + 3;
+
+
+ /**
+ * 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#getPasteElementContainementFeature <em>Paste Element Containement Feature</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Paste Element Containement Feature</em>'.
+ * @see org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel.PapyrusTableConfiguration.PapyrusTableConfiguration#getPasteElementContainementFeature()
+ * @see #getPapyrusTableConfiguration()
+ * @generated
+ */
+ EReference getPapyrusTableConfiguration_PasteElementContainementFeature();
+
+ /**
+ * 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 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>Paste Element Containement Feature</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PAPYRUS_TABLE_CONFIGURATION__PASTE_ELEMENT_CONTAINEMENT_FEATURE = eINSTANCE.getPapyrusTableConfiguration_PasteElementContainementFeature();
+
+ /**
+ * 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();
+
+ }
+
+} //PapyrusTableConfigurationPackage
diff --git a/plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/impl/PapyrusTableConfigurationFactoryImpl.java b/plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/impl/PapyrusTableConfigurationFactoryImpl.java
new file mode 100644
index 00000000000..caead4c87d7
--- /dev/null
+++ b/plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/impl/PapyrusTableConfigurationFactoryImpl.java
@@ -0,0 +1,105 @@
+/**
+ * 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/plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/impl/PapyrusTableConfigurationImpl.java b/plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/impl/PapyrusTableConfigurationImpl.java
new file mode 100644
index 00000000000..05d8789ea94
--- /dev/null
+++ b/plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/impl/PapyrusTableConfigurationImpl.java
@@ -0,0 +1,313 @@
+/**
+ * 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.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EReference;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.EModelElementImpl;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+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#getPasteElementContainementFeature <em>Paste Element Containement 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>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class PapyrusTableConfigurationImpl extends
+EModelElementImpl implements PapyrusTableConfiguration {
+ /**
+ * The cached value of the '{@link #getPasteElementContainementFeature() <em>Paste Element Containement Feature</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPasteElementContainementFeature()
+ * @generated
+ * @ordered
+ */
+ protected EReference pasteElementContainementFeature;
+
+ /**
+ * 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;
+
+ /**
+ * <!-- 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 getPasteElementContainementFeature() {
+ if (pasteElementContainementFeature != null && pasteElementContainementFeature.eIsProxy()) {
+ InternalEObject oldPasteElementContainementFeature = (InternalEObject)pasteElementContainementFeature;
+ pasteElementContainementFeature = (EReference)eResolveProxy(oldPasteElementContainementFeature);
+ if (pasteElementContainementFeature != oldPasteElementContainementFeature) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__PASTE_ELEMENT_CONTAINEMENT_FEATURE, oldPasteElementContainementFeature, pasteElementContainementFeature));
+ }
+ }
+ return pasteElementContainementFeature;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference basicGetPasteElementContainementFeature() {
+ return pasteElementContainementFeature;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPasteElementContainementFeature(EReference newPasteElementContainementFeature) {
+ EReference oldPasteElementContainementFeature = pasteElementContainementFeature;
+ pasteElementContainementFeature = newPasteElementContainementFeature;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__PASTE_ELEMENT_CONTAINEMENT_FEATURE, oldPasteElementContainementFeature, pasteElementContainementFeature));
+ }
+
+ /**
+ * <!-- 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
+ */
+ @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__PASTE_ELEMENT_CONTAINEMENT_FEATURE:
+ if (resolve) return getPasteElementContainementFeature();
+ return basicGetPasteElementContainementFeature();
+ case PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__PASTED_ELEMENT_ID:
+ return getPastedElementId();
+ case PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__TABLE_CONFIGURATION:
+ return getTableConfiguration();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__PASTE_ELEMENT_CONTAINEMENT_FEATURE:
+ setPasteElementContainementFeature((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;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__PASTE_ELEMENT_CONTAINEMENT_FEATURE:
+ setPasteElementContainementFeature((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;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case PapyrusTableConfigurationPackage.PAPYRUS_TABLE_CONFIGURATION__PASTE_ELEMENT_CONTAINEMENT_FEATURE:
+ return pasteElementContainementFeature != 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;
+ }
+ 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/plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/impl/PapyrusTableConfigurationPackageImpl.java b/plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/impl/PapyrusTableConfigurationPackageImpl.java
new file mode 100644
index 00000000000..d8b13f09615
--- /dev/null
+++ b/plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/impl/PapyrusTableConfigurationPackageImpl.java
@@ -0,0 +1,221 @@
+/**
+ * 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_PasteElementContainementFeature() {
+ 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 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__PASTE_ELEMENT_CONTAINEMENT_FEATURE);
+ createEAttribute(papyrusTableConfigurationEClass, PAPYRUS_TABLE_CONFIGURATION__PASTED_ELEMENT_ID);
+ createEReference(papyrusTableConfigurationEClass, PAPYRUS_TABLE_CONFIGURATION__TABLE_CONFIGURATION);
+ }
+
+ /**
+ * <!-- 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_PasteElementContainementFeature(), theEcorePackage.getEReference(), null, "pasteElementContainementFeature", 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);
+
+ // Create resource
+ createResource(eNS_URI);
+ }
+
+} //PapyrusTableConfigurationPackageImpl
diff --git a/plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/util/PapyrusTableConfigurationAdapterFactory.java b/plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/util/PapyrusTableConfigurationAdapterFactory.java
new file mode 100644
index 00000000000..2b615b2046d
--- /dev/null
+++ b/plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/util/PapyrusTableConfigurationAdapterFactory.java
@@ -0,0 +1,153 @@
+/**
+ * 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/plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/util/PapyrusTableConfigurationSwitch.java b/plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/util/PapyrusTableConfigurationSwitch.java
new file mode 100644
index 00000000000..610136a9f48
--- /dev/null
+++ b/plugins/infra/table/org.eclipse.papyrus.infra.table.papyrustableconfiguration.metamodel/src-gen/org/eclipse/papyrus/infra/table/papyrustableconfiguration/metamodel/PapyrusTableConfiguration/util/PapyrusTableConfigurationSwitch.java
@@ -0,0 +1,141 @@
+/**
+ * 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