KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jface > text > source > IAnnotationHoverExtension2


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  *******************************************************************************/

11 package org.eclipse.jface.text.source;
12
13
14 /**
15  * Extension interface for {@link org.eclipse.jface.text.source.IAnnotationHover} for
16  * <ul>
17  * <li>providing whether the information control can interact with the mouse wheel</li>
18  * </ul>
19  *
20  * @see org.eclipse.jface.text.source.IAnnotationHover
21  * @since 3.2
22  */

23 public interface IAnnotationHoverExtension2 {
24     /**
25      * Returns whether the provided information control can interact with the mouse wheel. I.e. the
26      * hover will not be closed when the mouse wheel is moved.
27      *
28      * @return <code>true</code> if the mouse wheel is handled by the hover
29      */

30     boolean canHandleMouseWheel();
31 }
32
Popular Tags