org.eclipse.cdt.internal.ui.wizards.classwizard
Class SourceFileSelectionDialog
java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.eclipse.jface.dialogs.TrayDialog
org.eclipse.ui.dialogs.SelectionDialog
org.eclipse.ui.dialogs.SelectionStatusDialog
org.eclipse.cdt.internal.ui.wizards.classwizard.SourceFileSelectionDialog
- All Implemented Interfaces:
- org.eclipse.jface.window.IShellProvider
public class SourceFileSelectionDialog
- extends org.eclipse.ui.dialogs.SelectionStatusDialog
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window |
org.eclipse.jface.window.Window.IExceptionHandler |
Fields inherited from class org.eclipse.jface.dialogs.Dialog |
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, 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 |
Constructor Summary |
SourceFileSelectionDialog(org.eclipse.swt.widgets.Shell parent)
Constructs an instance of ElementTreeSelectionDialog . |
Methods inherited from class org.eclipse.ui.dialogs.SelectionStatusDialog |
getFirstResult, setImage, setStatusLineAboveButtons |
Methods inherited from class org.eclipse.ui.dialogs.SelectionDialog |
getOkButton, getResult, setDialogBoundsSettings, setInitialElementSelections, setInitialSelections, setMessage, setTitle |
Methods inherited from class org.eclipse.jface.dialogs.TrayDialog |
close, closeTray, getTray, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable |
Methods inherited from class org.eclipse.jface.dialogs.Dialog |
applyDialogFont, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getBlockedHandler, getImage, setBlockedHandler, shortenText |
Methods inherited from class org.eclipse.jface.window.Window |
getDefaultImage, getDefaultImages, getDefaultOrientation, getReturnCode, getShell, getWindowManager, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setWindowManager |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SourceFileSelectionDialog
public SourceFileSelectionDialog(org.eclipse.swt.widgets.Shell parent)
- Constructs an instance of
ElementTreeSelectionDialog
.
- Parameters:
parent
- The parent shell for the dialog
setInput
public void setInput(org.eclipse.cdt.core.model.ICElement input)
- Sets the tree input.
- Parameters:
input
- the tree input.
open
public int open()
- Overrides:
open
in class org.eclipse.jface.window.Window
create
public void create()
- Overrides:
create
in class org.eclipse.ui.dialogs.SelectionStatusDialog
getFolderName
public java.lang.String getFolderName()
getFileName
public java.lang.String getFileName()
getFilePath
public org.eclipse.core.runtime.IPath getFilePath()
setInitialSelection
public void setInitialSelection(java.lang.String folderName,
java.lang.String fileName)
- Sets the initial selection. Convenience method.