org.eclipse.cdt.internal.ui.wizards.classwizard
Class SourceFileSelectionDialog

java.lang.Object
  extended by org.eclipse.jface.window.Window
      extended by org.eclipse.jface.dialogs.Dialog
          extended by org.eclipse.jface.dialogs.TrayDialog
              extended by org.eclipse.ui.dialogs.SelectionDialog
                  extended by org.eclipse.ui.dialogs.SelectionStatusDialog
                      extended by 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 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, 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.
 
Method Summary
 void create()
           
 java.lang.String getFileName()
           
 org.eclipse.core.runtime.IPath getFilePath()
           
 java.lang.String getFolderName()
           
 int open()
           
 void setInitialSelection(java.lang.String folderName, java.lang.String fileName)
          Sets the initial selection.
 void setInput(org.eclipse.cdt.core.model.ICElement input)
          Sets the tree input.
 
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
 

Constructor Detail

SourceFileSelectionDialog

public SourceFileSelectionDialog(org.eclipse.swt.widgets.Shell parent)
Constructs an instance of ElementTreeSelectionDialog.

Parameters:
parent - The parent shell for the dialog
Method Detail

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.