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

Method restoreTools

ij/src/main/java/ij/gui/Toolbar.java:1627–1634  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1625 }
1626
1627 public static void restoreTools() {
1628 Toolbar tb = Toolbar.getInstance();
1629 if (tb!=null) {
1630 if (tb.getToolId()>=UNUSED)
1631 tb.setTool(RECTANGLE);
1632 tb.installStartupMacros();
1633 }
1634 }
1635
1636 private void installStartupMacros() {
1637 resetTools();

Callers

nothing calls this directly

Calls 4

getInstanceMethod · 0.95
getToolIdMethod · 0.95
setToolMethod · 0.95
installStartupMacrosMethod · 0.95

Tested by

no test coverage detected