blob: 6e14f8c327ee64754423b8600e1bfe5e2991ec37 [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.core.resources.IProject;
import org.eclipse.stem.foodproduction.FoodTransformer;
import org.eclipse.stem.foodproduction.presentation.FoodProductionPropertyComposite;
import org.eclipse.stem.foodproduction.presentation.FoodProductionPropertyEditor;
import org.eclipse.stem.foodproduction.presentation.StandardFoodProductionPropertyEditor;
import org.eclipse.swt.events.ModifyListener;
public class StandardFoodProductionPropertyEditorAdapter extends
FoodProductionPropertyEditorAdapter {
@Override
public FoodProductionPropertyEditor createFoodProductionPropertyEditor(
final FoodProductionPropertyComposite foodProductionPropertyComposite,
final int style, final ModifyListener projectValidator, IProject project) {
return new StandardFoodProductionPropertyEditor(
foodProductionPropertyComposite, style,
(FoodTransformer) getTarget(), projectValidator, project);
} // createFoodProductionPropertyEditor
} // StandardFoodProductionPropertyEditorAdapter