@startuml title ImageJUpdater implements UpdaterUI (simplified) ImageJUpdater -> ImageJUpdater : some prep checks participant UpdaterFrame participant ProtocolUtil participant AvailableSites create FilesCollection ImageJUpdater -> FilesCollection : create create UpdaterFrame ImageJUpdater -> UpdaterFrame : create ImageJUpdater -> FilesCollection : tryLoadingCollection create UpdateSite FilesCollection -> UpdateSite : create create AutomatedURLUpdate UpdateSite -> AutomatedURLUpdate : create ImageJUpdater -> ProtocolUtil : checkHTTPSSupport ImageJUpdater -> ProtocolUtil : supportsHTTPS ImageJUpdater <-- ProtocolUtil : secure ImageJUpdater -> ImageJUpdater : warn if insecure ImageJUpdater -> AvailableSites : fixImageJUserSitesProtocol AvailableSites -> AutomatedURLUpdate : setNewUrl ImageJUpdater -> AvailableSites : initializeAndAddSites AvailableSites -> FilesCollection : if new, addUpdateSite AvailableSites -> AutomatedURLUpdate : if present but URL changed, setNewUrl create ReviewSiteURLsDialog ImageJUpdater -> ReviewSiteURLsDialog : create ReviewSiteURLsDialog -> AutomatedURLUpdate : setNewURLApproved(false) ReviewSiteURLsDialog -> AutomatedURLUpdate : setNewURLApproved(true) ReviewSiteURLsDialog -> AutomatedURLUpdate : keepOldURL AutomatedURLUpdate -> UpdateSite : setKeepURL ImageJUpdater -> AvailableSites : applySitesURLUpdates AvailableSites -> AutomatedURLUpdate : applyIfApproved AutomatedURLUpdate -> UpdateSite : setURL ImageJUpdater -> FilesCollection : reloadCollectionAndChecksum ImageJUpdater -> ImageJUpdater : handle warnings, conflicts ImageJUpdater -> UpdaterFrame : setVisible @enduml
Decode URL
Submit
amiga
aws-orange
black-knight
bluegray
blueprint
cerulean-outline
cerulean
crt-amber
crt-green
cyborg-outline
cyborg
hacker
lightgray
mars
materia-outline
materia
metal
mimeograph
minty
plain
reddress-darkblue
reddress-darkgreen
reddress-darkorange
reddress-darkred
reddress-lightblue
reddress-lightgreen
reddress-lightorange
reddress-lightred
sandstone
silver
sketchy-outline
sketchy
spacelab
spacelab-white
superhero-outline
superhero
toy
united
vibrant
Pure Javascript
PNG
SVG
ASCII Art