KickJava   Java API By Example, From Geeks To Geeks.

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


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
12 package org.eclipse.jface.text;
13
14 /**
15  * Extension interface {@link org.eclipse.jface.text.IInformationControl}.
16  * <p>
17  * As it is the responsibility of the implementer of
18  * {@link org.eclipse.jface.text.IInformationControl}and
19  * {@link org.eclipse.jface.text.IInformationControlExtension2}to specify the
20  * concrete nature of the information control's input, only the implementer can
21  * know whether it has something to show or not.
22  *
23  * @since 2.0
24  */

25 public interface IInformationControlExtension {
26
27     /**
28      * Returns whether this information control has contents to be displayed.
29      *
30      * @return <code>true</code> if there is contents to be displayed.
31      */

32     boolean hasContents();
33 }
34
Popular Tags