git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-4235 JAL-3599 Try and report Eclipse Product Version for jalviewjsTranspile....
[jalview.git]
/
src
/
jalview
/
javascript
/
MouseOverListener.java
diff --git
a/src/jalview/javascript/MouseOverListener.java
b/src/jalview/javascript/MouseOverListener.java
index
19f7b11
..
16b57a4
100644
(file)
--- 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.8.2)
- * Copyright (C) 2014 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.
*
*
* This file is part of Jalview.
*
@@
-26,8
+26,8
@@
import jalview.datamodel.SequenceI;
import jalview.structure.VamsasListener;
import jalview.structure.VamsasSource;
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;
{
AlignFrame _af;
@@
-37,12
+37,14
@@
public class MouseOverListener extends JSFunctionExec implements
int i = -1;
int i = -1;
- public void mouseOver(SequenceI seq, int index, VamsasSource source)
+ @Override
+ public void mouseOverSequence(SequenceI seq, int index,
+ VamsasSource source)
{
if (seq != last || i != index)
{
// this should really be a trace message.
{
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;
// + seq + " at " + index);
last = seq;
i = index;
@@
-62,16
+64,15
@@
public class MouseOverListener extends JSFunctionExec implements
// function, then only events from that alignFrame are sent to that
// function
}
// function, then only events from that alignFrame are sent to that
// function
}
- executeJavascriptFunction(
- _listener,
+ executeJavascriptFunction(_listener,
new Object[]
{ src, seq.getDisplayId(false), "" + (1 + i),
"" + seq.findPosition(i) });
} catch (Exception ex)
{
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)
{
+ _listener + "'");
if (ex instanceof netscape.javascript.JSException)
{