Creating a window involves the following steps:
Window
create
(optional)WindowManager.add
(optional)open
The JFace window framework (this package) consists of this class, Window
, the abstract base of all windows, and one concrete window classes (ApplicationWindow
) which may also be subclassed. Clients may define additional window subclasses as required.
The Window
class provides methods that subclasses may override to configure the window, including:
close
- extend to free other SWT resourcesconfigureShell
- extend or reimplement to set shell properties before window openscreateContents
- extend or reimplement to create controls before window opensgetInitialSize
- reimplement to give the initial size for the shellgetInitialLocation
- reimplement to give the initial location for the shellgetShellListener
- extend or reimplement to receive shell eventshandleFontChange
- reimplement to respond to font changes handleShellCloseEvent
- extend or reimplement to handle shell closings
|
|