A manager for a group of windows. Window managers are an optional JFace feature used in applications which create many different windows (dialogs, wizards, etc.) in addition to a main window. A window manager can be used to remember all the windows that an application has created (independent of whether they are presently open or closed). There can be several window managers, and they can be arranged into a tree. This kind of organization makes it simple to close whole subgroupings of windows.
Creating a window manager is as simple as creating an instance of WindowManager
. Associating a window with a window manager is done with WindowManager.add(Window)
. A window is automatically removed from its window manager as a side effect of closing the window.
@see Window