KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jface > text > IInformationControlExtension2


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 /**
15  * Extension interface for {@link org.eclipse.jface.text.IInformationControl}.
16  * <p>
17  * Replaces the concept of textual information to be displayed with the more
18  * general concept of an input of the information control. Text to be displayed
19  * set with <code>setInformation(String)</code> is ignored.
20  *
21  * @see org.eclipse.jface.text.IInformationControl
22  * @since 2.1
23  */

24 public interface IInformationControlExtension2 {
25
26     /**
27      * Sets the input to be presented in this information control. The concrete
28      * contract the input object is expected to adhere is defined by the
29      * implementer of this interface.
30      *
31      * @param input the object to be used as input for this control
32      */

33     void setInput(Object JavaDoc input);
34 }
35
Popular Tags