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

Method run

ij/src/main/java/ij/plugin/Hotkeys.java:17–29  ·  view source on GitHub ↗
(String arg)

Source from the content-addressed store, hash-verified

15 private static String shortcut = "";
16
17 public void run(String arg) {
18 if (arg.equals("install") || arg.equals("install2"))
19 installHotkey(arg);
20 else if (arg.equals("remove"))
21 removeHotkey();
22 else if (arg.equals("list"))
23 listCommands();
24 else {
25 Executer e = new Executer(arg);
26 e.run();
27 }
28 IJ.register(Hotkeys.class);
29 }
30
31 void installHotkey(String arg) {
32 boolean byName = arg.equals("install2");

Callers

nothing calls this directly

Calls 6

installHotkeyMethod · 0.95
removeHotkeyMethod · 0.95
listCommandsMethod · 0.95
runMethod · 0.95
registerMethod · 0.95
equalsMethod · 0.45

Tested by

no test coverage detected