MCPcopy Index your code
hub / github.com/processing/processing / update

Method update

app/src/processing/app/contrib/DetailPanel.java:756–773  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

754
755
756 public void update() {
757 clearStatusMessage();
758 updateInProgress = true;
759 if (contrib.getType().requiresRestart()) {
760 installRemoveButton.setEnabled(false);
761 installProgressBar.setVisible(true);
762 installProgressBar.setIndeterminate(true);
763
764 ContribProgressBar progress = new UpdateProgressBar(installProgressBar);
765 getLocalContrib().removeContribution(getBase(), progress, getStatusPanel());
766 } else {
767 updateButton.setEnabled(false);
768 installRemoveButton.setEnabled(false);
769 AvailableContribution ad =
770 contribListing.getAvailableContribution(contrib);
771 installContribution(ad, ad.link);
772 }
773 }
774
775
776 class UpdateProgressBar extends ContribProgressBar {

Callers 6

actionPerformedMethod · 0.95
actionPerformedMethod · 0.95
contributionAddedMethod · 0.45
contributionRemovedMethod · 0.45
updateStatusPanelMethod · 0.45
updateAllMethod · 0.45

Calls 10

clearStatusMessageMethod · 0.95
getLocalContribMethod · 0.95
getBaseMethod · 0.95
getStatusPanelMethod · 0.95
installContributionMethod · 0.95
requiresRestartMethod · 0.80
setVisibleMethod · 0.65
getTypeMethod · 0.45
removeContributionMethod · 0.45

Tested by

no test coverage detected