scijava / scijava-ui-swing

SciJava UI components for Java Swing.
BSD 2-Clause "Simplified" License
7 stars 11 forks source link

Adds swing ui which monitors scijava's tasks #67

Closed NicoKiaru closed 2 years ago

NicoKiaru commented 2 years ago

Adds a circular progress bar component to the status bar which displays the overall progress of all registered tasks created via the scijava task service. When the user clicks on the circular progress bar, a frame containing a table summarizing each task progression is displayed.

Each task is rendered in the table with a custom renderer, displaying a label with the name of the task and its status, a linear progress bar, and, if enabled, a label with an estimation of the remaining time until task completion. The estimation assumes a constant completion speed since the start of the task registration. Additionally, the second column of the table displays a clickable stop icon and which can be used to cancel the task.

Before cancellation, a user confirmation dialog can be enabled or disabled.

Note: the scijava-common version is overriden in order to use the PR https://github.com/scijava/scijava-common/pull/432

ctrueden commented 2 years ago

Thanks @NicoKiaru!

NicoKiaru commented 2 years ago

That was fast, and thanks for noticing the field error!

imagesc-bot commented 2 years ago

This pull request has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/demo-and-proposal-new-progress-bars-for-fiji/64956/6