1 /******************************************************************************* 2 * Copyright (c) 2000, 2008 IBM Corporation and others. 3 * 4 * This program and the accompanying materials 5 * are made available under the terms of the Eclipse Public License 2.0 6 * which accompanies this distribution, and is available at 7 * https://www.eclipse.org/legal/epl-2.0/ 8 * 9 * SPDX-License-Identifier: EPL-2.0 10 * 11 * Contributors: 12 * IBM Corporation - initial API and implementation 13 *******************************************************************************/ 14 15 package org.eclipse.jface.text; 16 17 /** 18 * Extension interface {@link org.eclipse.jface.text.IInformationControl}. 19 * <p> 20 * As it is the responsibility of the implementer of 21 * {@link org.eclipse.jface.text.IInformationControl} and 22 * {@link org.eclipse.jface.text.IInformationControlExtension2} to specify the 23 * concrete nature of the information control's input, only the implementer can 24 * know whether it has something to show or not. 25 * 26 * @since 2.0 27 */ 28 public interface IInformationControlExtension { 29 30 /** 31 * Returns whether this information control has contents to be displayed. 32 * 33 * @return <code>true</code> if there is contents to be displayed. 34 */ hasContents()35 boolean hasContents(); 36 } 37