KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > console > IHyperlink2


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.ui.console;
12
13 import org.eclipse.swt.widgets.Event;
14
15 /**
16  * Optional extension to {@link IHyperlink}.
17  * <p>
18  * Clients implementing {@link IHyperlink} may also implement this interface.
19  * When implemented, the method <code>linkActivated(Event)</code> is called instead of
20  * <code>linkActivated()</code>.
21  * </p>
22  * @since 3.2
23  */

24 public interface IHyperlink2 extends IHyperlink {
25     
26     /**
27      * Notification that this link has been activated. Performs
28      * context specific linking.
29      *
30      * @param event the SWT event which triggered this hyperlink
31      */

32     public void linkActivated(Event event);
33 }
34
Popular Tags