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

Method updateImageJMenus

ij/src/main/java/ij/Menus.java:1782–1791  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1780 }
1781
1782 public static void updateImageJMenus() {
1783 jarFiles = macroFiles = null;
1784 Menus m = new Menus(IJ.getInstance(), IJ.getApplet());
1785 String err = m.addMenuBar();
1786 if (err!=null) IJ.error(err);
1787 m.installStartupMacroSet();
1788 IJ.resetClassLoader();
1789 //IJ.runPlugIn("ij.plugin.ClassChecker", "");
1790 IJ.showStatus("Menus updated: "+m.nPlugins + " commands, " + m.nMacros + " macros");
1791 }
1792
1793 public static void updateFont() {
1794 scale = (int)Math.round(Prefs.getGuiScale());

Callers 2

updateMenusMethod · 0.95
installMethod · 0.95

Calls 7

getInstanceMethod · 0.95
getAppletMethod · 0.95
addMenuBarMethod · 0.95
errorMethod · 0.95
resetClassLoaderMethod · 0.95
showStatusMethod · 0.95

Tested by

no test coverage detected