JAL-3446 from applet; JAL-3374
authorBobHanson <hansonr@stolaf.edu>
Tue, 9 Jun 2020 06:42:17 +0000 (01:42 -0500)
committerBobHanson <hansonr@stolaf.edu>
Tue, 9 Jun 2020 06:42:17 +0000 (01:42 -0500)
commitbe8b1d254f658181eec3c29dc696114e3ffdd4df
tree8b8f950f63a807f3dfb20bdd232857dfc5c91b1e
parent40373abd3960216c8f34dfcda7ed7f2adc2db99b
JAL-3446 from applet; JAL-3374

- JalviewJSApp interface updated
- Jalview "noannotations" fixed
- AlignFrame show annotations menu item when started with noannations
fixed
- reorganization of timing of setting range start/end and scrollbar
values solves (many) timing issues in SeqCanvasTest and
AlignmentPanelTest, which were due to asynchronous delayed repaints
setting range values in paintComponent(g) way too late.
- correction of font checking in AlignmentPanelTest - "VERY LONG LABEL"
not long enough after adding "MMMM" in a prior test
- corrections for "isMac()" (now "!isWin()") in tests
- addition of Jalview.isInteractive for SeqCanvasTest -- still an
occasional conflict with previous test when in batch mode
- addition of Jalview.allowServices for simple tests (using -jabaws
"none"), allowing them to not run unnecessary service look-up threads
- centralization of AlignmentViewport firing of "alignment" property
change for sanity only
- adding of "sequence" property change for notification of need to
refresh the horizontal scrollbar after changes in range and scrollbar
update timing

- still a minor issue with noannotation starting up ok, but the first
annotation spilling over into scrollbar space (is that a filler?)
25 files changed:
src/jalview/appletgui/APopupMenu.java
src/jalview/appletgui/AlignFrame.java
src/jalview/appletgui/AlignViewport.java
src/jalview/appletgui/RedundancyPanel.java
src/jalview/appletgui/SeqPanel.java
src/jalview/appletgui/TreeCanvas.java
src/jalview/bin/Jalview.java
src/jalview/bin/JalviewJSApp.java
src/jalview/gui/AlignFrame.java
src/jalview/gui/AlignViewport.java
src/jalview/gui/AlignmentPanel.java
src/jalview/gui/AnnotationPanel.java
src/jalview/gui/AssociatePdbFileWithSeq.java
src/jalview/gui/Desktop.java
src/jalview/gui/PopupMenu.java
src/jalview/gui/RedundancyPanel.java
src/jalview/gui/ScalePanel.java
src/jalview/gui/SeqPanel.java
src/jalview/gui/StructureChooser.java
src/jalview/gui/TreePanel.java
src/jalview/viewmodel/AlignmentViewport.java
src/jalview/viewmodel/ViewportRanges.java
test/jalview/gui/AlignmentPanelTest.java
test/jalview/gui/PairwiseAlignmentPanelTest.java
test/jalview/gui/SeqCanvasTest.java