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

Method load

ij/src/main/java/ij/plugin/ControlPanel.java:71–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69 /* *********************************************************************** */
70
71 synchronized void load() {
72 commands = Menus.getCommands();
73 pluginsArray = Menus.getPlugins();
74 root=doRootFromMenus();
75 if (root==null || root.getChildCount()==0 ) return; // do nothing if there's no tree or a root w/o children
76 loadProperties();
77 restoreVisiblePanels();
78 if (panels.isEmpty())
79 newPanel(root);
80 }
81
82 /** Builds up a root tree from ImageJ's menu bar.
83 * The root tree replicates ImageJ's menu bar with its menus and their submenus.

Callers 1

runMethod · 0.95

Calls 7

getCommandsMethod · 0.95
getPluginsMethod · 0.95
doRootFromMenusMethod · 0.95
loadPropertiesMethod · 0.95
restoreVisiblePanelsMethod · 0.95
newPanelMethod · 0.95
isEmptyMethod · 0.45

Tested by

no test coverage detected