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

Method installUserPlugin

ij/src/main/java/ij/Menus.java:1234–1236  ·  view source on GitHub ↗

Installs a plugin in the Plugins menu using the class name, with underscores replaced by spaces, as the command.

(String className)

Source from the content-addressed store, hash-verified

1232 /** Installs a plugin in the Plugins menu using the class name,
1233 with underscores replaced by spaces, as the command. */
1234 void installUserPlugin(String className) {
1235 installUserPlugin(className, false);
1236 }
1237
1238 public void installUserPlugin(String className, boolean force) {
1239 int slashIndex = className.indexOf('/');

Callers 1

installPluginsMethod · 0.95

Calls 9

getMenuMethod · 0.95
addItemSortedMethod · 0.95
addOrderedMethod · 0.95
substringMethod · 0.80
addActionListenerMethod · 0.80
indexOfMethod · 0.45
replaceMethod · 0.45
getMethod · 0.45
putMethod · 0.45

Tested by

no test coverage detected