1 /******************************************************************************* 2 * Copyright (c) 2000, 2005 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 * Extension interface for {@link org.eclipse.jface.text.ITextHover}. 15 * <p> 16 * It provides a way for hovers to specify the information control creator they 17 * want to have used in order to create the hover control.</p> 18 * 19 * @see org.eclipse.jface.text.IInformationControlCreator 20 * @see org.eclipse.jface.text.ITextHover 21 * @since 3.0 22 */ 23 public interface ITextHoverExtension { 24 25 /** 26 * Returns the hover control creator of this text hover or <code>null</code> 27 * 28 * @return the hover control creator or <code>null</code> 29 */ 30 IInformationControlCreator getHoverControlCreator(); 31 } 32