| /******************************************************************************* |
| * Copyright (c) 2016 RCP Vision (http://www.rcp-vision.com) 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: |
| * Lorenzo Bettini - Initial contribution and API |
| *******************************************************************************/ |
| package org.eclipse.emf.parsley.tests.util; |
| |
| import org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain; |
| import org.eclipse.emf.parsley.edit.domain.SingletonAdapterFactoryEditingDomainProvider; |
| |
| import com.google.inject.Provider; |
| |
| public class SingletonAdapterFactoryEditingDomainModule extends ModuleWithResourceInitializer { |
| @Override |
| public Class<? extends Provider<AdapterFactoryEditingDomain>> provideAdapterFactoryEditingDomain() { |
| return SingletonAdapterFactoryEditingDomainProvider.class; |
| } |
| } |