|
Eclipse Platform Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.window.Window
org.eclipse.jface.dialogs.PopupDialog
org.eclipse.debug.ui.DebugPopup
org.eclipse.debug.ui.InspectPopupDialog
public class InspectPopupDialog
A DebugPopup that can be used to inspect an
IExpression object.
This class is not intended to be subclassed.
Note: This class subclasses PopupDialog
which is currently marked as experimental API. Users should therefore consider
this class to be experimental as well.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.jface.window.Window |
|---|
Window.IExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.jface.dialogs.PopupDialog |
|---|
HOVER_SHELLSTYLE, INFOPOPUP_SHELLSTYLE, INFOPOPUPRESIZE_SHELLSTYLE, POPUP_HORIZONTALSPACING, POPUP_MARGINHEIGHT, POPUP_MARGINWIDTH, POPUP_VERTICALSPACING |
| Fields inherited from class org.eclipse.jface.window.Window |
|---|
CANCEL, OK |
| Constructor Summary | |
|---|---|
InspectPopupDialog(Shell shell,
Point anchor,
String commandId,
IExpression expression)
Creates a new inspect popup. |
|
| Method Summary | |
|---|---|
boolean |
close()
Closes this window, disposes its shell, and removes this window from its window manager (if it has one). |
protected Control |
createDialogArea(Composite parent)
Creates and returns the contents of the dialog (the area below the title area and above the info text area. |
protected String |
getActionText()
Returns the text to be shown as the action performed when this dialog's persist command is invoked, or null. |
protected Point |
getInitialSize()
Returns the initial size to use for the shell. |
protected void |
persist()
Persists the contents of the dialog. |
| Methods inherited from class org.eclipse.debug.ui.DebugPopup |
|---|
getCommandId, getDialogSettings, getInfoText, getInitialLocation, open, wasPersisted |
| Methods inherited from class org.eclipse.jface.dialogs.PopupDialog |
|---|
adjustBounds, applyBackgroundColor, applyForegroundColor, configureShell, createContents, createInfoTextArea, createTitleControl, createTitleMenuArea, fillDialogMenu, getBackgroundColorExclusions, getFocusControl, getForegroundColorExclusions, getPersistBounds, hasInfoArea, hasTitleArea, saveDialogBounds, setInfoText, setTabOrder, setTitleText, showDialogMenu |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InspectPopupDialog(Shell shell,
Point anchor,
String commandId,
IExpression expression)
shell - The parent shellanchor - point at which to anchor the popup in Display coordinatescommandId - The command id to be used for persistence of
the dialog (possibly null)expression - The expression being inspected| Method Detail |
|---|
protected Control createDialogArea(Composite parent)
PopupDialog
The PopupDialog implementation of this framework method
creates and returns a new Composite with standard margins
and spacing.
The returned control's layout data must be an instance of
GridData. This method must not modify the parent's
layout.
Subclasses must override this method but may call super as
in the following example:
Composite composite = (Composite) super.createDialogArea(parent); //add controls to composite as necessary return composite;
createDialogArea in class DebugPopupparent - the parent composite to contain the dialog area
public boolean close()
PopupDialog
This method is extended to save the dialog bounds and initialize widget
state so that the widgets can be recreated if the dialog is reopened.
This method may be extended (super.close must be called).
close in class DebugPopuptrue if the window is (or was already) closed, and
false if it is still openprotected String getActionText()
DebugPopupnull.
Subclasses should override as necessary.
getActionText in class DebugPopupprotected void persist()
DebugPopup
persist in class DebugPopupprotected Point getInitialSize()
WindowShell.computeSize(SWT.DEFAULT, SWT.DEFAULT, true).
getInitialSize in class PopupDialog
|
Eclipse Platform Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.