git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
976e0bf
)
JAL-2960 don’t override a swing method and create infinite recursion ;) toFront now...
author
Jim Procter
<jprocter@issues.jalview.org>
Mon, 7 May 2018 08:53:05 +0000
(09:53 +0100)
committer
Jim Procter
<jprocter@issues.jalview.org>
Mon, 7 May 2018 08:53:26 +0000
(09:53 +0100)
src/jalview/api/structures/JalviewStructureDisplayI.java
patch
|
blob
|
history
src/jalview/gui/StructureViewer.java
patch
|
blob
|
history
src/jalview/gui/StructureViewerBase.java
patch
|
blob
|
history
diff --git
a/src/jalview/api/structures/JalviewStructureDisplayI.java
b/src/jalview/api/structures/JalviewStructureDisplayI.java
index
abb23f8
..
8f778f7
100644
(file)
--- a/
src/jalview/api/structures/JalviewStructureDisplayI.java
+++ b/
src/jalview/api/structures/JalviewStructureDisplayI.java
@@
-123,6
+123,6
@@
public interface JalviewStructureDisplayI
/**
* Raise the panel to the top of the stack...
*/
- void toFront();
+ void raiseViewer();
}
diff --git
a/src/jalview/gui/StructureViewer.java
b/src/jalview/gui/StructureViewer.java
index
0158055
..
0c8354b
100644
(file)
--- a/
src/jalview/gui/StructureViewer.java
+++ b/
src/jalview/gui/StructureViewer.java
@@
-293,7
+293,7
@@
public class StructureViewer
sview.addToExistingViewer(pdb, seqsForPdb, null, ap, pdbId);
}
sview.updateTitleAndMenus();
- sview.toFront();
+ sview.raiseViewer();
return sview;
}
ViewerType viewerType = getViewerType();
diff --git
a/src/jalview/gui/StructureViewerBase.java
b/src/jalview/gui/StructureViewerBase.java
index
e9c1051
..
72b0bcc
100644
(file)
--- a/
src/jalview/gui/StructureViewerBase.java
+++ b/
src/jalview/gui/StructureViewerBase.java
@@
-1035,7
+1035,7
@@
public abstract class StructureViewerBase extends GStructureViewer
}
@Override
- public void toFront()
+ public void raiseViewer()
{
toFront();
}