/******************************************************************************* | |
* Copyright (c) 2005, 2012 IBM Corporation and others. | |
* All rights reserved. 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: | |
* IBM Corporation - initial API and implementation | |
*******************************************************************************/ | |
package org.eclipse.bpel.ui.adapters; | |
import org.eclipse.bpel.ui.uiextensionmodel.UiextensionmodelFactory; | |
import org.eclipse.emf.ecore.EObject; | |
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=330813 | |
// https://jira.jboss.org/browse/JBIDE-7497 | |
// use MarkerDelegateAdapter to forward marker notifications to the enclosing <assign> | |
public class CopyAdapter extends MarkerDelegateAdapter implements IExtensionFactory { | |
/* IExtensionFactory */ | |
public EObject createExtension(EObject object) { | |
return UiextensionmodelFactory.eINSTANCE.createCopyExtension(); | |
} | |
} |