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

Method removeMacroTools

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

Source from the content-addressed store, hash-verified

1942 }
1943
1944 public static void removeMacroTools() {
1945 if (instance!=null) {
1946 if (instance.getToolId()>=CUSTOM1)
1947 instance.setTool(RECTANGLE);
1948 instance.resetTools();
1949 instance.repaint();
1950 }
1951 }
1952
1953 /** Adds a plugin tool to the first available toolbar slot,
1954 or to the last slot if the toolbar is full. */

Callers 1

removeToolsMethod · 0.95

Calls 4

getToolIdMethod · 0.80
resetToolsMethod · 0.80
setToolMethod · 0.45
repaintMethod · 0.45

Tested by

no test coverage detected