129
|
1 /*******************************************************************************
|
|
2 * Copyright (c) 2000, 2008 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 * Port to the D programming language:
|
|
11 * Frank Benoit <benoit@tionex.de>
|
|
12 *******************************************************************************/
|
|
13
|
|
14 module dwtx.jface.text.IInformationControlExtension;
|
|
15
|
|
16 import dwt.dwthelper.utils;
|
|
17
|
|
18 /**
|
|
19 * Extension interface {@link dwtx.jface.text.IInformationControl}.
|
|
20 * <p>
|
|
21 * As it is the responsibility of the implementer of
|
|
22 * {@link dwtx.jface.text.IInformationControl} and
|
|
23 * {@link dwtx.jface.text.IInformationControlExtension2} to specify the
|
|
24 * concrete nature of the information control's input, only the implementer can
|
|
25 * know whether it has something to show or not.
|
|
26 *
|
|
27 * @since 2.0
|
|
28 */
|
|
29 public interface IInformationControlExtension {
|
|
30
|
|
31 /**
|
|
32 * Returns whether this information control has contents to be displayed.
|
|
33 *
|
|
34 * @return <code>true</code> if there is contents to be displayed.
|
|
35 */
|
|
36 bool hasContents();
|
|
37 }
|