2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
9 package eu
.etaxonomy
.taxeditor
.editor
.molecular
;
12 import info
.bioinfweb
.commons
.tic
.input
.TICMouseAdapter
;
13 import info
.bioinfweb
.commons
.tic
.input
.TICMouseEvent
;
17 import eu
.etaxonomy
.taxeditor
.editor
.handler
.ShowPherogramHandler
;
18 import eu
.etaxonomy
.taxeditor
.model
.MessagingUtils
;
23 * Listens to mouse events on data areas displaying a pherogram in {@link AlignmentEditor}.
28 public class PherogramMouseListener
extends TICMouseAdapter
{
32 public PherogramMouseListener(URI uri
) {
39 public void mousePressed(TICMouseEvent event
) {
40 if (event
.getClickCount() == 2) { // Double click
41 ShowPherogramHandler
.showPherogram(uri
);