Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Moffatt2012-04-16 16:07:22 +0000
committerEric Moffatt2012-04-16 16:07:22 +0000
commit89540eee88979a5b5dd6cd6a03916a865186e670 (patch)
tree94806edbad9bdd8d110ce066d11994ff512116fc /bundles/org.eclipse.e4.ui.model.workbench
parent6e1f209d5cb5bce01cdd066e7d72fc70a2a3abd5 (diff)
downloadeclipse.platform.ui-89540eee88979a5b5dd6cd6a03916a865186e670.tar.gz
eclipse.platform.ui-89540eee88979a5b5dd6cd6a03916a865186e670.tar.xz
eclipse.platform.ui-89540eee88979a5b5dd6cd6a03916a865186e670.zip
Remove stale code...this was generated from a time when the model wasv20120416-1607
incorrect and never removed
Diffstat (limited to 'bundles/org.eclipse.e4.ui.model.workbench')
-rw-r--r--bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/impl/SnippetContainerImpl.java154
1 files changed, 0 insertions, 154 deletions
diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/impl/SnippetContainerImpl.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/impl/SnippetContainerImpl.java
deleted file mode 100644
index 927f2360ffc..00000000000
--- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/impl/SnippetContainerImpl.java
+++ /dev/null
@@ -1,154 +0,0 @@
-/**
- * Copyright (c) 2008 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- */
-package org.eclipse.e4.ui.model.application.ui.impl;
-
-import java.util.Collection;
-import java.util.List;
-import org.eclipse.e4.ui.model.application.ui.MSnippetContainer;
-import org.eclipse.e4.ui.model.application.ui.MUIElement;
-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.impl.MinimalEObjectImpl.Container;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Snippet Container</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.e4.ui.model.application.ui.impl.SnippetContainerImpl#getSnippets <em>Snippets</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class SnippetContainerImpl extends Container implements MSnippetContainer {
- /**
- * The cached value of the '{@link #getSnippets() <em>Snippets</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSnippets()
- * @generated
- * @ordered
- */
- protected EList<MUIElement> snippets;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected SnippetContainerImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return UiPackageImpl.Literals.SNIPPET_CONTAINER;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public List<MUIElement> getSnippets() {
- if (snippets == null) {
- snippets = new EObjectContainmentEList<MUIElement>(MUIElement.class, this, UiPackageImpl.SNIPPET_CONTAINER__SNIPPETS);
- }
- return snippets;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case UiPackageImpl.SNIPPET_CONTAINER__SNIPPETS:
- return ((InternalEList<?>)getSnippets()).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 UiPackageImpl.SNIPPET_CONTAINER__SNIPPETS:
- return getSnippets();
- }
- 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 UiPackageImpl.SNIPPET_CONTAINER__SNIPPETS:
- getSnippets().clear();
- getSnippets().addAll((Collection<? extends MUIElement>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case UiPackageImpl.SNIPPET_CONTAINER__SNIPPETS:
- getSnippets().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case UiPackageImpl.SNIPPET_CONTAINER__SNIPPETS:
- return snippets != null && !snippets.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} //SnippetContainerImpl

Back to the top