MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / closeAll

Method closeAll

ij/src/main/java/ij/plugin/ControlPanel.java:522–534  ·  view source on GitHub ↗
(boolean die)

Source from the content-addressed store, hash-verified

520 }
521
522 void closeAll(boolean die) {
523 quitting = die;
524 if (!visiblePanels.isEmpty()) {
525 propertiesChanged = true;
526 saveProperties();
527 }
528 for (Enumeration e = panels.elements(); e.hasMoreElements();) {
529 TreePanel p = (TreePanel)e.nextElement();
530 p.close();
531 }
532 //if(quitting) panels.clear();
533 quitting = true;
534 }
535
536 /* **************************************************************************** */
537 /* Helper methods */

Callers 1

actionPerformedMethod · 0.45

Calls 3

savePropertiesMethod · 0.95
closeMethod · 0.95
isEmptyMethod · 0.45

Tested by

no test coverage detected