blob: 5fb857416306623bd1b96d79899f1ef69fb5ad80 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2011 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.stem.ui.foodproduction.adapters;
/*******************************************************************************
* 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
*******************************************************************************/
import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.stem.foodproduction.util.FoodproductionAdapterFactory;
public class StandardFoodProductionPropertyEditorAdapterFactory extends
FoodproductionAdapterFactory implements
FoodProductionPropertyEditorAdapterFactory {
public StandardFoodProductionPropertyEditorAdapterFactory() {
super();
FoodProductionPropertyEditorAdapterFactory.INSTANCE
.addAdapterFactory(this);
}
@Override
public Adapter createFoodTransformerAdapter() {
return new StandardFoodProductionPropertyEditorAdapter();
}
public boolean isFactoryForType(Object type) {
return type == FoodProductionPropertyEditorAdapter.class
|| super.isFactoryForType(type);
}
} // StandardFoodProductionPropertyEditorAdapterFactory