JAL-3878 Separate gui elements from operations.
authorMateusz Warowny <mmzwarowny@dundee.ac.uk>
Mon, 8 Nov 2021 15:01:52 +0000 (16:01 +0100)
committerMateusz Warowny <mmzwarowny@dundee.ac.uk>
Mon, 8 Nov 2021 15:01:52 +0000 (16:01 +0100)
commit12dc7e70977962f00e584b39eda098897d51f432
tree1fd9ab44288455fe09fe211638123f18ff4c6d6f
parent9a5c8af21bd813e0c62ffcd7e4c0c3e2c33b9947
JAL-3878 Separate gui elements from operations.

Separation went well for alignment operation but not so much
for the annotations. GUI progress bar needs to be moved outside
the operation and be controlled by the worker listener.
Addition of the results to the frame needs to be moved out from
the #done method, but it's strongly wired to the align frame
code and cannot be nicely packed into AnnotationResult object.
15 files changed:
src/jalview/gui/AlignFrame.java
src/jalview/ws2/WebServiceDiscoverer.java
src/jalview/ws2/WebServiceI.java
src/jalview/ws2/WebServiceInfoUpdater.java
src/jalview/ws2/WebServiceWorkerI.java
src/jalview/ws2/WebServiceWorkerListener.java [new file with mode: 0644]
src/jalview/ws2/WebServiceWorkerListenersList.java [new file with mode: 0644]
src/jalview/ws2/gui/AlignmentMenuBuilder.java [new file with mode: 0644]
src/jalview/ws2/gui/AnnotationMenuBuilder.java [new file with mode: 0644]
src/jalview/ws2/operations/AlignmentOperation.java
src/jalview/ws2/operations/AnnotationOperation.java
src/jalview/ws2/operations/AnnotationServiceWorker.java
src/jalview/ws2/operations/Operation.java
src/jalview/ws2/slivka/SlivkaWSDiscoverer.java
src/jalview/ws2/slivka/SlivkaWebService.java