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 {@link org.eclipse.jface.text.IInformationControl}.
14: * <p>
15: * As it is the responsibility of the implementer of
16: * {@link org.eclipse.jface.text.IInformationControl}and
17: * {@link org.eclipse.jface.text.IInformationControlExtension2}to specify the
18: * concrete nature of the information control's input, only the implementer can
19: * know whether it has something to show or not.
20: *
21: * @since 2.0
22: */
23: public interface IInformationControlExtension {
24:
25: /**
26: * Returns whether this information control has contents to be displayed.
27: *
28: * @return <code>true</code> if there is contents to be displayed.
29: */
30: boolean hasContents();
31: }
|