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

Method addBuiltInTool

ij/src/main/java/ij/gui/Toolbar.java:1425–1430  ·  view source on GitHub ↗
(String name)

Source from the content-addressed store, hash-verified

1423 }
1424
1425 private void addBuiltInTool(String name) {
1426 CheckboxMenuItem item = new CheckboxMenuItem(name, name.equals(currentSet));
1427 item.addItemListener(this);
1428 item.setActionCommand("Tool");
1429 switchPopup.add(item);
1430 }
1431
1432 private void addPluginTool(String name) {
1433 CheckboxMenuItem item = new CheckboxMenuItem(name, name.equals(currentSet));

Callers 1

addPluginToolsMethod · 0.95

Calls 2

addMethod · 0.65
equalsMethod · 0.45

Tested by

no test coverage detected