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
- public class JavaSourceLookupDialog
- extends Dialog
A dialog to manipulate the source lookup path for a launch
configuration.
This class may be instantiated; it is not intended to be subclassed.
- Since:
- 2.0.2
- See Also:
Dialog
Fields inherited from class org.eclipse.jface.window.Window |
CANCEL, OK |
Methods inherited from class org.eclipse.jface.dialogs.Dialog |
applyDialogFont, buttonPressed, cancelPressed, close, configureShell, constrainShellSize, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, createButton, createButtonBar, createButtonsForButtonBar, createContents, getButton, getButtonBar, getCancelButton, getDialogArea, getImage, getOKButton, initializeBounds, initializeDialogUnits, setButtonLayoutData, setButtonLayoutFormData |
Methods inherited from class org.eclipse.jface.window.Window |
canHandleShellCloseEvent, create, createShell, getContents, getDefaultImage, getInitialLocation, getInitialSize, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setExceptionHandler, setReturnCode, setShellStyle, setWindowManager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaSourceLookupDialog
public JavaSourceLookupDialog(Shell shell,
String message,
ILaunchConfiguration configuration)
- 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 attributes
IJavaLaunchConfigurationConstants.ATTR_DEFAULT_SOURCE_PATH
and
IJavaLaunchConfigurationConstants.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
isNotAskAgain
public boolean isNotAskAgain()
- 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 Control createDialogArea(Composite parent)
- Overrides:
createDialogArea
in class Dialog
- See Also:
Dialog.createDialogArea(Composite)
okPressed
protected void okPressed()
- Overrides:
okPressed
in class Dialog
- See Also:
Dialog.okPressed()
Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.