X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fjavascript%2FMouseOverListener.java;h=16b57a4fc9ae5bccbd5e3ed75b754d6018bc0f70;hb=a1984b1c8c273ed33c7ce9283039f4027dcae2de;hp=2b228da1cbea09ac3e6c5b4233a87d9297ebacdd;hpb=838e4f91d4a53dd315640dbc9ff6ef7a815ee576;p=jalview.git diff --git a/src/jalview/javascript/MouseOverListener.java b/src/jalview/javascript/MouseOverListener.java index 2b228da..16b57a4 100644 --- a/src/jalview/javascript/MouseOverListener.java +++ b/src/jalview/javascript/MouseOverListener.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b1) - * Copyright (C) 2015 The Jalview Authors + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors * * This file is part of Jalview. * @@ -26,8 +26,8 @@ import jalview.datamodel.SequenceI; import jalview.structure.VamsasListener; import jalview.structure.VamsasSource; -public class MouseOverListener extends JSFunctionExec implements - VamsasListener, JsCallBack +public class MouseOverListener extends JSFunctionExec + implements VamsasListener, JsCallBack { AlignFrame _af; @@ -44,7 +44,7 @@ public class MouseOverListener extends JSFunctionExec implements if (seq != last || i != index) { // this should really be a trace message. - // Cache.log.debug("Mouse over " + v.getId() + " bound to " + // Cache.debug("Mouse over " + v.getId() + " bound to " // + seq + " at " + index); last = seq; i = index; @@ -65,13 +65,14 @@ public class MouseOverListener extends JSFunctionExec implements // function } executeJavascriptFunction(_listener, - new Object[] { src, seq.getDisplayId(false), "" + (1 + i), + new Object[] + { src, seq.getDisplayId(false), "" + (1 + i), "" + seq.findPosition(i) }); } catch (Exception ex) { - System.err - .println("JalviewLite javascript error: Couldn't send mouseOver with handler '" + System.err.println( + "JalviewLite javascript error: Couldn't send mouseOver with handler '" + _listener + "'"); if (ex instanceof netscape.javascript.JSException) {