com.aptana.ide.core.ui.dialogs
Class GenericDialog

java.lang.Object
  extended by org.eclipse.swt.widgets.Dialog
      extended by com.aptana.ide.core.ui.dialogs.GenericDialog
Direct Known Subclasses:
ChooseSyncConfigurationDialog, FileReplaceDialog, InfoDialog, ProjectLocationDialog, SyncInfoDialog, VirtualFileManagerLocationDialog

public abstract class GenericDialog
extends org.eclipse.swt.widgets.Dialog

Creates a generic Aptana dialog to be reused across the ide


Constructor Summary
GenericDialog(org.eclipse.swt.widgets.Shell parent)
          Create the dialog
GenericDialog(org.eclipse.swt.widgets.Shell parent, int style)
          Create the dialog
 
Method Summary
 void addCloseBoxListener(org.eclipse.swt.widgets.Shell parent)
          Adds a listener to clear out items when hitting the close box
abstract  void handleCancel()
          Cancels the dialog and disposes the shell
 
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
 

Constructor Detail

GenericDialog

public GenericDialog(org.eclipse.swt.widgets.Shell parent,
                     int style)
Create the dialog

Parameters:
parent -
style -

GenericDialog

public GenericDialog(org.eclipse.swt.widgets.Shell parent)
Create the dialog

Parameters:
parent -
Method Detail

addCloseBoxListener

public void addCloseBoxListener(org.eclipse.swt.widgets.Shell parent)
Adds a listener to clear out items when hitting the close box

Parameters:
parent -

handleCancel

public abstract void handleCancel()
Cancels the dialog and disposes the shell