Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.sirius.diagram/src-gen/org/eclipse/sirius/diagram/description/tool/impl/ElementDoubleClickVariableImpl.java')
-rw-r--r--plugins/org.eclipse.sirius.diagram/src-gen/org/eclipse/sirius/diagram/description/tool/impl/ElementDoubleClickVariableImpl.java196
1 files changed, 0 insertions, 196 deletions
diff --git a/plugins/org.eclipse.sirius.diagram/src-gen/org/eclipse/sirius/diagram/description/tool/impl/ElementDoubleClickVariableImpl.java b/plugins/org.eclipse.sirius.diagram/src-gen/org/eclipse/sirius/diagram/description/tool/impl/ElementDoubleClickVariableImpl.java
deleted file mode 100644
index e868fee086..0000000000
--- a/plugins/org.eclipse.sirius.diagram/src-gen/org/eclipse/sirius/diagram/description/tool/impl/ElementDoubleClickVariableImpl.java
+++ /dev/null
@@ -1,196 +0,0 @@
-/**
- * Copyright (c) 2007, 2013 THALES GLOBAL SERVICES.
- * This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License 2.0
- * which accompanies this distribution, and is available at
- * https://www.eclipse.org/legal/epl-2.0/
- *
- * SPDX-License-Identifier: EPL-2.0
- *
- * Contributors:
- * Obeo - initial API and implementation
- *
- */
-package org.eclipse.sirius.diagram.description.tool.impl;
-
-import java.util.Collection;
-
-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.InternalEObject;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.sirius.diagram.description.tool.ElementDoubleClickVariable;
-import org.eclipse.sirius.diagram.description.tool.ToolPackage;
-import org.eclipse.sirius.viewpoint.description.SubVariable;
-import org.eclipse.sirius.viewpoint.description.impl.AbstractVariableImpl;
-import org.eclipse.sirius.viewpoint.description.tool.VariableContainer;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object ' <em><b>Element Double Click Variable</b></em>'. <!--
- * end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.sirius.diagram.description.tool.impl.ElementDoubleClickVariableImpl#getSubVariables <em>Sub
- * Variables</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class ElementDoubleClickVariableImpl extends AbstractVariableImpl implements ElementDoubleClickVariable {
- /**
- * The cached value of the '{@link #getSubVariables() <em>Sub Variables</em> }' containment reference list. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getSubVariables()
- * @generated
- * @ordered
- */
- protected EList<SubVariable> subVariables;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected ElementDoubleClickVariableImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ToolPackage.Literals.ELEMENT_DOUBLE_CLICK_VARIABLE;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<SubVariable> getSubVariables() {
- if (subVariables == null) {
- subVariables = new EObjectContainmentEList.Resolving<SubVariable>(SubVariable.class, this, ToolPackage.ELEMENT_DOUBLE_CLICK_VARIABLE__SUB_VARIABLES);
- }
- return subVariables;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ToolPackage.ELEMENT_DOUBLE_CLICK_VARIABLE__SUB_VARIABLES:
- return ((InternalEList<?>) getSubVariables()).basicRemove(otherEnd, 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 ToolPackage.ELEMENT_DOUBLE_CLICK_VARIABLE__SUB_VARIABLES:
- return getSubVariables();
- }
- 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 ToolPackage.ELEMENT_DOUBLE_CLICK_VARIABLE__SUB_VARIABLES:
- getSubVariables().clear();
- getSubVariables().addAll((Collection<? extends SubVariable>) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ToolPackage.ELEMENT_DOUBLE_CLICK_VARIABLE__SUB_VARIABLES:
- getSubVariables().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ToolPackage.ELEMENT_DOUBLE_CLICK_VARIABLE__SUB_VARIABLES:
- return subVariables != null && !subVariables.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
- if (baseClass == VariableContainer.class) {
- switch (derivedFeatureID) {
- case ToolPackage.ELEMENT_DOUBLE_CLICK_VARIABLE__SUB_VARIABLES:
- return org.eclipse.sirius.viewpoint.description.tool.ToolPackage.VARIABLE_CONTAINER__SUB_VARIABLES;
- default:
- return -1;
- }
- }
- return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
- if (baseClass == VariableContainer.class) {
- switch (baseFeatureID) {
- case org.eclipse.sirius.viewpoint.description.tool.ToolPackage.VARIABLE_CONTAINER__SUB_VARIABLES:
- return ToolPackage.ELEMENT_DOUBLE_CLICK_VARIABLE__SUB_VARIABLES;
- default:
- return -1;
- }
- }
- return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
- }
-
-} // ElementDoubleClickVariableImpl

Back to the top