/*- * Copyright 2015 Diamond Light Source Ltd. * * 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 */ package uk.ac.diamond.scisoft.xpdf.views; import org.eclipse.jface.viewers.ColumnViewer; import org.eclipse.jface.viewers.EditingSupport; import org.eclipse.jface.viewers.Viewer; /** * A factory to produce {@link EditingSupport} objects. * <p> * When the editing support needs to have some knowledge of things outside the * table, a factory class can be created that produces a valid class when the * {@link Viewer} is finally known. * @author Timothy Spain, timothy.spain@diamond.ac.uk * */ interface EditingSupportFactory { EditingSupport get(final ColumnViewer v); }