com.aptana.ide.core.ui.io.file
Class InfoDialog

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.io.file.InfoDialog

public class InfoDialog
extends GenericDialog

Author:
Ingo Muschenetz

Field Summary
protected  java.lang.Object result
          result
protected  org.eclipse.swt.widgets.Shell shell
          shell
 
Constructor Summary
InfoDialog(org.eclipse.swt.widgets.Shell parent)
          Create the dialog
InfoDialog(org.eclipse.swt.widgets.Shell parent, int style)
          Create the dialog
 
Method Summary
protected  void createContents()
          Create contents of the dialog
 void handleCancel()
          Cancels the dialog and disposes the shell
 java.lang.Object open()
          Open the dialog
protected  void setInitialFieldValues()
          Sets the initial field values
 void setItem(IVirtualFile item)
          Sets the item
 
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

result

protected java.lang.Object result
result


shell

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

Constructor Detail

InfoDialog

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

Parameters:
parent -
style -

InfoDialog

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

Parameters:
parent -
Method Detail

setItem

public void setItem(IVirtualFile item)
Sets the item

Parameters:
item -

open

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

Returns:
the result

createContents

protected void createContents()
Create contents of the dialog


setInitialFieldValues

protected void setInitialFieldValues()
Sets the initial field values


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()