org.eclipse.jface.window |
Package-level Javadoc
Provides a general framework for creating and managing
windows.
Package Specification
A JFace window is an object that has no visual representation (no widgets)
until it is told to open. All JFace windows, including dialogs, are instances
of the abstract class Window or a subclass. This package contains
the base window classes:
Window itself, which provides support
for a basic windows; and ApplicationWindow, which provides ready-to-use
support for a high-level "main window" with standard menus, tool bar, and
status line. Both of these classes may be subclassed to define additional
types of window as required.
This package also contains WindowManager, instance of which
are used for managing a group of windows. Window managers are useful in
applications which create many different windows (dialogs, wizards, etc.)
in addition to a main window. Window managers are not required for simple
applications.
The only global state maintained by classes in this package is a default
image for window title bars (Window.setDefaultImage).
|
Java Source File Name | Type | Comment |
ApplicationWindow.java | Class | An application window is a high-level "main window", with built-in
support for an optional menu bar with standard menus, an optional toolbar,
and an optional status line.
Creating an application window involves the following steps:
- creating an instance of
ApplicationWindow
- assigning the window to a window manager (optional)
- opening the window by calling
open
Only on the last step, when the window is told to open, are
the window's shell and widget tree created. |
DefaultToolTip.java | Class | Default implementation of ToolTip that provides an iconofied label with font
and color controls by subclass. |
IShellProvider.java | Interface | Interface for objects that can return a shell. |
SameShellProvider.java | Class | Standard shell provider that always returns the shell containing the given
control. |
ToolTip.java | Class | This class gives implementors to provide customized tooltips for any control. |
Window.java | Class | A JFace window is an object that has no visual representation (no widgets)
until it is told to open.
Creating a window involves the following steps:
- creating an instance of a concrete subclass of
Window
- creating the window's shell and widget tree by calling
create (optional)
- assigning the window to a window manager using
WindowManager.add (optional)
- opening the window by calling
open
Opening the window will create its shell and widget tree if they have not
already been created. |
WindowManager.java | Class | A manager for a group of windows. |