Mercurial > projects > dwt-addons
comparison dwtx/jface/text/source/ISourceViewerExtension.d @ 129:eb30df5ca28b
Added JFace Text sources
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 23 Aug 2008 19:10:48 +0200 |
parents | |
children | c4fb132a086c |
comparison
equal
deleted
inserted
replaced
128:8df1d4193877 | 129:eb30df5ca28b |
---|---|
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 * Port to the D programming language: | |
11 * Frank Benoit <benoit@tionex.de> | |
12 *******************************************************************************/ | |
13 | |
14 module dwtx.jface.text.source.ISourceViewerExtension; | |
15 | |
16 import dwt.dwthelper.utils; | |
17 | |
18 /** | |
19 * Extension interface {@link dwtx.jface.text.source.ISourceViewer}. | |
20 * <p> | |
21 * Extends the source viewer with the concept of an annotation overview. The | |
22 * annotation overview differs from the annotation presentation in that it is | |
23 * independent from the viewer's view port, i.e. the annotations of the whole | |
24 * document are visible. There are no assumptions about the area in which the | |
25 * annotation overview is shown. | |
26 * <p> | |
27 * As the visibility of annotation overview can dynamically be changed, it is | |
28 * assumed that the presentation area can dynamically be hidden if it is | |
29 * different from the text widget. | |
30 * | |
31 * @see dwtx.jface.text.source.ISourceViewer | |
32 * @since 2.1 | |
33 */ | |
34 public interface ISourceViewerExtension { | |
35 | |
36 /** | |
37 * Shows/hides an overview representation of the annotations of the whole document of this viewer. | |
38 * | |
39 * @param show <code>true</code> if annotation overview should be visible, <code>false</code> otherwise | |
40 */ | |
41 void showAnnotationsOverview(bool show); | |
42 } |