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

Method addWindow

ij/src/main/java/ij/WindowManager.java:306–315  ·  view source on GitHub ↗

Adds the specified window to the Window menu.

(Window win)

Source from the content-addressed store, hash-verified

304
305 /** Adds the specified window to the Window menu. */
306 public synchronized static void addWindow(Window win) {
307 if (win==null)
308 return;
309 else if (win instanceof ImageWindow)
310 addImageWindow((ImageWindow)win);
311 else {
312 Menus.insertWindowMenuItem(win);
313 nonImageList.add(win);
314 }
315 }
316
317 /** Adds the specified Frame to the Window menu. */
318 public static void addWindow(Frame win) {

Callers 15

setVisibleMethod · 0.95
FitterMethod · 0.95
CommandsMethod · 0.95
LineWidthAdjusterMethod · 0.95
showWindowMethod · 0.95
SyncWindowsMethod · 0.95
EditorMethod · 0.95
RecorderMethod · 0.95
ColorThresholderMethod · 0.95
runMethod · 0.95
MemoryMonitorMethod · 0.95
ColorPickerMethod · 0.95

Calls 3

addImageWindowMethod · 0.95
insertWindowMenuItemMethod · 0.95
addMethod · 0.65

Tested by

no test coverage detected