com.aptana.ide.core.ui.views.fileexplorer
Class FileReplaceDialog

java.lang.Object
  extended by org.eclipse.swt.widgets.Dialog
      extended by com.aptana.ide.core.ui.dialogs.GenericDialog
          extended by com.aptana.ide.core.ui.views.fileexplorer.FileReplaceDialog

public class FileReplaceDialog
extends GenericDialog

Author:
Robin

Nested Class Summary
static class FileReplaceDialog.FileReplaceDialogResult
          FileReplaceDialogResult
 
Field Summary
protected  org.eclipse.swt.widgets.Shell shell
          shell
 
Constructor Summary
FileReplaceDialog(org.eclipse.swt.widgets.Shell parent, int style, java.lang.String fileName)
          Create the dialog
FileReplaceDialog(org.eclipse.swt.widgets.Shell parent, java.lang.String fileName)
          Create the dialog
 
Method Summary
 void handleCancel()
          Cancels the dialog and disposes the shell
 java.lang.Object open()
          Open the dialog
 
Methods inherited from class com.aptana.ide.core.ui.dialogs.GenericDialog
addCloseBoxListener
 
Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

shell

protected org.eclipse.swt.widgets.Shell shell
shell

Constructor Detail

FileReplaceDialog

public FileReplaceDialog(org.eclipse.swt.widgets.Shell parent,
                         int style,
                         java.lang.String fileName)
Create the dialog

Parameters:
parent -
style -
fileName -

FileReplaceDialog

public FileReplaceDialog(org.eclipse.swt.widgets.Shell parent,
                         java.lang.String fileName)
Create the dialog

Parameters:
parent -
fileName -
Method Detail

open

public java.lang.Object open()
Open the dialog

Returns:
the result

handleCancel

public void handleCancel()
Description copied from class: GenericDialog
Cancels the dialog and disposes the shell

Specified by:
handleCancel in class GenericDialog
See Also:
GenericDialog.handleCancel()