1 /******************************************************************************* 2 * Copyright (c) 2007 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.jface.text; 12 13 14 /** 15 * Extension interface for {@link org.eclipse.jface.text.ITextViewer}. 16 * Adds the ability to install tabs to spaces conversion. 17 * 18 * @since 3.3 19 */ 20 public interface ITextViewerExtension7 { 21 22 /** 23 * Sets an auto edit strategy can converts tabs to spaces. 24 * 25 * @param converter the converter or <code>null</code> if none should be used 26 */ 27 void setTabsToSpacesConverter(IAutoEditStrategy converter); 28 } 29