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-2599 HMMs can now be dropped onto the desktop
[jalview.git]
/
src
/
jalview
/
javascript
/
MouseOverStructureListener.java
diff --git
a/src/jalview/javascript/MouseOverStructureListener.java
b/src/jalview/javascript/MouseOverStructureListener.java
index
199db46
..
c390b17
100644
(file)
--- a/
src/jalview/javascript/MouseOverStructureListener.java
+++ b/
src/jalview/javascript/MouseOverStructureListener.java
@@
-34,9
+34,6
@@
import jalview.structure.StructureMappingcommandSet;
import jalview.structure.StructureSelectionManager;
import jalview.util.HttpUtils;
import jalview.structure.StructureSelectionManager;
import jalview.util.HttpUtils;
-import java.io.IOException;
-import java.io.InputStream;
-import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import java.util.ArrayList;
import java.util.List;
@@
-129,7
+126,7
@@
public class MouseOverStructureListener extends JSFunctionExec implements
}
@Override
}
@Override
- public String[] getPdbFile()
+ public String[] getStructureFiles()
{
return modelSet;
}
{
return modelSet;
}
@@
-224,8
+221,8
@@
public class MouseOverStructureListener extends JSFunctionExec implements
ArrayList<String[]> ccomands = new ArrayList<String[]>();
ArrayList<String> pdbfn = new ArrayList<String>();
StructureMappingcommandSet[] colcommands = JmolCommands
ArrayList<String[]> ccomands = new ArrayList<String[]>();
ArrayList<String> pdbfn = new ArrayList<String>();
StructureMappingcommandSet[] colcommands = JmolCommands
- .getColourBySequenceCommand(ssm, modelSet, sequence, sr, fr,
- ((AlignmentViewPanel) source).getAlignment());
+ .getColourBySequenceCommand(ssm, modelSet, sequence, sr,
+ (AlignmentViewPanel) source);
if (colcommands == null)
{
return;
if (colcommands == null)
{
return;
@@
-301,7
+298,8
@@
public class MouseOverStructureListener extends JSFunctionExec implements
return _listenerfn;
}
return _listenerfn;
}
- public void finalise()
+ @Override
+ public void finalize() throws Throwable
{
jvlite = null;
super.finalize();
{
jvlite = null;
super.finalize();