Package org.eclipse.jdt.debug.ui
Class JavaSourceLookupDialog
java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.eclipse.jdt.debug.ui.JavaSourceLookupDialog
- All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider
Deprecated.
A dialog to manipulate the source lookup path for a launch
configuration.
This class may be instantiated.
- Since:
- 2.0.2
- See Also:
-
Dialog
- Restriction:
- This class is not intended to be subclassed by clients.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window
org.eclipse.jface.window.Window.IExceptionHandler
-
Field Summary
Fields inherited from class org.eclipse.jface.dialogs.Dialog
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS
Fields inherited from class org.eclipse.jface.window.Window
CANCEL, OK, resizeHasOccurred
-
Constructor Summary
ConstructorDescriptionJavaSourceLookupDialog
(org.eclipse.swt.widgets.Shell shell, String message, org.eclipse.debug.core.ILaunchConfiguration configuration) Deprecated.Constructs a dialog to manipulate the source lookup path of the given launch configuration. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.swt.widgets.Control
createDialogArea
(org.eclipse.swt.widgets.Composite parent) Deprecated.boolean
Deprecated.Returns whether the "do not ask again" check box is selected in the dialog.protected void
Deprecated.Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, buttonPressed, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonBar, createButtonsForButtonBar, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, isResizable, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
Methods inherited from class org.eclipse.jface.window.Window
canHandleShellCloseEvent, configureShell, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
-
Constructor Details
-
JavaSourceLookupDialog
public JavaSourceLookupDialog(org.eclipse.swt.widgets.Shell shell, String message, org.eclipse.debug.core.ILaunchConfiguration configuration) Deprecated.Constructs a dialog to manipulate the source lookup path of the given launch configuration. The source lookup path is retrieved from the given launch configuration, based on the attributesIJavaLaunchConfigurationConstants.ATTR_DEFAULT_SOURCE_PATH
andIJavaLaunchConfigurationConstants.ATTR_SOURCE_PATH
. If the user changes the source lookup path and presses "OK", the launch configuration is updated with the new source lookup path.- Parameters:
shell
- the shell to open the dialog onmessage
- the message to display in the dialogconfiguration
- the launch configuration from which the source lookup path is retrieved and (possibly) updated
-
-
Method Details
-
isNotAskAgain
public boolean isNotAskAgain()Deprecated.Returns whether the "do not ask again" check box is selected in the dialog.- Returns:
- whether the "do not ask again" check box is selected in the dialog
-
createDialogArea
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent) Deprecated.- Overrides:
createDialogArea
in classorg.eclipse.jface.dialogs.Dialog
-
okPressed
protected void okPressed()Deprecated.- Overrides:
okPressed
in classorg.eclipse.jface.dialogs.Dialog
-
org.eclipse.debug.core.sourcelookup
andorg.eclipse.debug.core.sourcelookup.containers
. This class has been replaced by a dialog in the debug platform -org.eclipse.debug.ui.sourcelookup.SourceLookupDialog
.