01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.jface.text;
11:
12: /**
13: * Extension interface for {@link org.eclipse.jface.text.IInformationControl}.
14: * <p>
15: * Replaces the concept of textual information to be displayed with the more
16: * general concept of an input of the information control. Text to be displayed
17: * set with <code>setInformation(String)</code> is ignored.
18: *
19: * @see org.eclipse.jface.text.IInformationControl
20: * @since 2.1
21: */
22: public interface IInformationControlExtension2 {
23:
24: /**
25: * Sets the input to be presented in this information control. The concrete
26: * contract the input object is expected to adhere is defined by the
27: * implementer of this interface.
28: *
29: * @param input the object to be used as input for this control
30: */
31: void setInput(Object input);
32: }
|