Mercurial > projects > dwt-addons
comparison dwtx/jface/text/source/IAnnotationHoverExtension2.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) 2006 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 module dwtx.jface.text.source.IAnnotationHoverExtension2; | |
14 | |
15 import dwt.dwthelper.utils; | |
16 | |
17 | |
18 /** | |
19 * Extension interface for {@link dwtx.jface.text.source.IAnnotationHover} for | |
20 * <ul> | |
21 * <li>providing whether the information control can interact with the mouse wheel</li> | |
22 * </ul> | |
23 * | |
24 * @see dwtx.jface.text.source.IAnnotationHover | |
25 * @since 3.2 | |
26 */ | |
27 public interface IAnnotationHoverExtension2 { | |
28 /** | |
29 * Returns whether the provided information control can interact with the mouse wheel. I.e. the | |
30 * hover will not be closed when the mouse wheel is moved. | |
31 * | |
32 * @return <code>true</code> if the mouse wheel is handled by the hover | |
33 */ | |
34 bool canHandleMouseWheel(); | |
35 } |