View Javadoc
1   /*
2    * Argeo Connect - Data management and communications
3    * Copyright (C) 2012 Argeo GmbH
4    *
5    * This program is free software: you can redistribute it and/or modify
6    * it under the terms of the GNU General Public License as published by
7    * the Free Software Foundation, either version 3 of the License, or
8    * (at your option) any later version.
9    *
10   * This program is distributed in the hope that it will be useful,
11   * but WITHOUT ANY WARRANTY; without even the implied warranty of
12   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13   * GNU General Public License for more details.
14   *
15   * You should have received a copy of the GNU General Public License
16   * along with this program.  If not, see <http://www.gnu.org/licenses/>;
17   *
18   * Additional permission under GNU GPL version 3 section 7
19   *
20   * If you modify this Program, or any covered work, by linking or combining it
21   * with software covered by the terms of the Eclipse Public License, the
22   * licensors of this Program grant you additional permission to convey the
23   * resulting work. Corresponding Source for a non-source form of such a
24   * combination shall include the source code for the parts of such software
25   * which are used as well as that of the covered work.
26   */
27  package org.argeo.slc.client.ui.dist.utils;
28  
29  import org.eclipse.ui.forms.events.HyperlinkEvent;
30  import org.eclipse.ui.forms.events.IHyperlinkListener;
31  
32  /** Convenience class to reduce the number of methods to implement */
33  public abstract class HyperlinkAdapter implements IHyperlinkListener {
34  
35  	public void linkEntered(HyperlinkEvent e) {
36  	}
37  
38  	public void linkExited(HyperlinkEvent e) {
39  	}
40  
41  	/** Must be overriden **/
42  	public abstract void linkActivated(HyperlinkEvent e);
43  }