diff options
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/TargletImportTaskImpl.java')
-rw-r--r-- | plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/TargletImportTaskImpl.java | 200 |
1 files changed, 0 insertions, 200 deletions
diff --git a/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/TargletImportTaskImpl.java b/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/TargletImportTaskImpl.java deleted file mode 100644 index 115ad9cc19..0000000000 --- a/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/TargletImportTaskImpl.java +++ /dev/null @@ -1,200 +0,0 @@ -/* - * Copyright (c) 2014 Eike Stepper (Berlin, Germany) 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: - * Eike Stepper - initial API and implementation - */ -package org.eclipse.emf.cdo.releng.setup.impl; - -import org.eclipse.emf.cdo.releng.setup.SetupPackage; -import org.eclipse.emf.cdo.releng.setup.SetupTaskContext; -import org.eclipse.emf.cdo.releng.setup.TargletImportTask; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Targlet Import Task</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.emf.cdo.releng.setup.impl.TargletImportTaskImpl#getTargletURI <em>Targlet URI</em>}</li> - * </ul> - * </p> - * - * @generated - */ -@Deprecated -public class TargletImportTaskImpl extends SetupTaskImpl implements TargletImportTask -{ - /** - * The default value of the '{@link #getTargletURI() <em>Targlet URI</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTargletURI() - * @generated - * @ordered - */ - protected static final String TARGLET_URI_EDEFAULT = null; - - /** - * The cached value of the '{@link #getTargletURI() <em>Targlet URI</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTargletURI() - * @generated - * @ordered - */ - protected String targletURI = TARGLET_URI_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected TargletImportTaskImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return SetupPackage.Literals.TARGLET_IMPORT_TASK; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getTargletURI() - { - return targletURI; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setTargletURI(String newTargletURI) - { - String oldTargletURI = targletURI; - targletURI = newTargletURI; - if (eNotificationRequired()) - { - eNotify(new ENotificationImpl(this, Notification.SET, SetupPackage.TARGLET_IMPORT_TASK__TARGLET_URI, - oldTargletURI, targletURI)); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case SetupPackage.TARGLET_IMPORT_TASK__TARGLET_URI: - return getTargletURI(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case SetupPackage.TARGLET_IMPORT_TASK__TARGLET_URI: - setTargletURI((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case SetupPackage.TARGLET_IMPORT_TASK__TARGLET_URI: - setTargletURI(TARGLET_URI_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case SetupPackage.TARGLET_IMPORT_TASK__TARGLET_URI: - return TARGLET_URI_EDEFAULT == null ? targletURI != null : !TARGLET_URI_EDEFAULT.equals(targletURI); - } - 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(" (targletURI: "); - result.append(targletURI); - result.append(')'); - return result.toString(); - } - - public boolean isNeeded(SetupTaskContext context) throws Exception - { - throw new UnsupportedOperationException(); - } - - public void perform(SetupTaskContext context) throws Exception - { - throw new UnsupportedOperationException(); - } - -} // TargletImportTaskImpl |