/******************************************************************************* * Copyright (c) 2007 Spring IDE Developers * 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: * Spring IDE Developers - initial API and implementation *******************************************************************************/ package org.springframework.ide.eclipse.webflow.ui.graph.parts; import org.eclipse.gef.EditPart; import org.eclipse.gef.EditPartFactory; /** * @author Christian Dupuis */ public class StateTreeEditPartFactory implements EditPartFactory { /* (non-Javadoc) * @see org.eclipse.gef.EditPartFactory#createEditPart(org.eclipse.gef.EditPart, java.lang.Object) */ public EditPart createEditPart(EditPart context, Object model) { EditPart part = null; part = new StateTreeEditPart(); part.setModel(model); return part; } }