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

Method getPlugInTool

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

Source from the content-addressed store, hash-verified

1972 }
1973
1974 public static PlugInTool getPlugInTool() {
1975 PlugInTool tool = null;
1976 if (instance==null)
1977 return null;
1978 if (current<instance.tools.length)
1979 tool = instance.tools[current];
1980 if (tool!=null && tool instanceof MacroToolRunner)
1981 tool = null;
1982 return tool;
1983 }
1984
1985 void runMacroTool(int id) {
1986 if (id<getNumTools() && tools[id]!=null)

Callers 9

setCursorMethod · 0.95
mousePressedMethod · 0.95
mouseExitedMethod · 0.95
mouseDraggedMethod · 0.95
mouseReleasedMethod · 0.95
mouseMovedMethod · 0.95
mouseEnteredMethod · 0.95
mouseClickedMethod · 0.95
setCursorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected