1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 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 package org.eclipse.jface.text;
15 
16 
17 /**
18  * Extension interface for {@link org.eclipse.jface.text.IInformationControl}.
19  * <p>
20  * Replaces the concept of textual information to be displayed with the more
21  * general concept of an input of the information control. Text to be displayed
22  * set with <code>setInformation(String)</code> is ignored.
23  *
24  * @see org.eclipse.jface.text.IInformationControl
25  * @since 2.1
26  */
27 public interface IInformationControlExtension2 {
28 
29 	/**
30 	 * Sets the input to be presented in this information control. The concrete
31 	 * contract the input object is expected to adhere is defined by the
32 	 * implementer of this interface.
33 	 *
34 	 * @param input the object to be used as input for this control
35 	 */
setInput(Object input)36 	void setInput(Object input);
37 }
38