blob: a1cf1bfb0072005e67aa2eef1d6cf941db415b2a [file] [log] [blame]
package org.eclipse.stem.ui.interventions.adapters;
/*******************************************************************************
* Copyright (c) 2008 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
*******************************************************************************/
import org.eclipse.core.resources.IProject;
import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.stem.graphgenerators.GraphGenerator;
import org.eclipse.stem.interventions.presentation.ControlGraphGeneratorPropertyEditor;
import org.eclipse.stem.ui.graphgenerators.adapters.graphgeneratorpropertyeditor.GraphGeneratorPropertyEditor;
import org.eclipse.stem.ui.graphgenerators.adapters.graphgeneratorpropertyeditor.GraphGeneratorPropertyEditorAdapter;
import org.eclipse.stem.ui.graphgenerators.wizards.GraphGeneratorPropertyComposite;
import org.eclipse.swt.events.ModifyListener;
public class ControlGraphGeneratorPropertyEditorAdapter extends GraphGeneratorPropertyEditorAdapter
implements Adapter {
public GraphGeneratorPropertyEditor createGraphGeneratorPropertyEditor(
final GraphGeneratorPropertyComposite graphGeneratorPropertyComposite,
final int style, final ModifyListener projectValidator, IProject project) {
return new ControlGraphGeneratorPropertyEditor(
graphGeneratorPropertyComposite, style,
(GraphGenerator) getTarget(), projectValidator, project);
} // createGraphGeneratorPropertyEditor
} // GraphGeneratorPropertyEditorAdapter