blob: aa0b6eebf799b12d3f0f3d90f37342f349c5fb6d [file] [log] [blame]
/*****************************************************************************
* Copyright (c) 2019 CEA LIST, 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:
* Nicolas FAUVERGUE (CEA LIST) nicolas.fauvergue@cea.fr - Initial API and implementation
*
*****************************************************************************/
package org.eclipse.papyrus.gitlight.compare.uml2.edit.internal.decorator;
import org.eclipse.emf.edit.provider.DecoratorAdapterFactory;
import org.eclipse.emf.edit.provider.IItemProviderDecorator;
import org.eclipse.uml2.uml.edit.providers.UMLItemProviderAdapterFactory;
/**
* Decorator adapter factory for Papyrus UML elements.
*/
public class PapyrusItemProviderAdapterFactoryDecorator extends DecoratorAdapterFactory {
/**
* Creates a new instance.
*/
public PapyrusItemProviderAdapterFactoryDecorator() {
super(new UMLItemProviderAdapterFactory());
}
@Override
protected IItemProviderDecorator createItemProviderDecorator(Object target, Object type) {
return new PapyrusItemProviderDecorator(this);
}
}