com.aptana.ide.syncing.ftp
Class FtpLocationDialog

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.VirtualFileManagerLocationDialog
              extended by com.aptana.ide.syncing.ftp.FtpLocationDialog
All Implemented Interfaces:
IVirtualFileManagerDialog

public class FtpLocationDialog
extends VirtualFileManagerLocationDialog

Author:
Ingo Muschenetz, Kevin Lindsey

Nested Class Summary
protected  class FtpLocationDialog.ResetOffsetButtonSelectionAdapter
          TestButtonSelectionAdapter
 
Nested classes/interfaces inherited from class com.aptana.ide.core.ui.io.file.VirtualFileManagerLocationDialog
VirtualFileManagerLocationDialog.OkButtonSelectionAdapter, VirtualFileManagerLocationDialog.TestButtonSelectionAdapter
 
Field Summary
protected  java.lang.Object result
          result
 
Fields inherited from class com.aptana.ide.core.ui.io.file.VirtualFileManagerLocationDialog
progressMonitorPart, shell
 
Constructor Summary
FtpLocationDialog(org.eclipse.swt.widgets.Shell parent)
          Create the dialog
FtpLocationDialog(org.eclipse.swt.widgets.Shell parent, int style)
          Create the dialog
 
Method Summary
protected  void createContents()
          Create contents of the dialog
 IVirtualFileManager open()
          Opens the dialog and returns the input
protected  void setInitialFieldValues()
          Sets the initial field values
 void setItem(IVirtualFileManager vfm, boolean newItem)
          see IVirtualFileManagerDialog#setItem(IVirtualFileManager, boolean)
protected  void setUpdatedValues()
          Sets the updated values onto the item
protected  boolean validateFields()
          Validates the fields to see if they are complete
 
Methods inherited from class com.aptana.ide.core.ui.io.file.VirtualFileManagerLocationDialog
getItem, handleCancel, isNewItem
 
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

Constructor Detail

FtpLocationDialog

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

Parameters:
parent -
style -

FtpLocationDialog

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

Parameters:
parent -
Method Detail

open

public IVirtualFileManager open()
Opens the dialog and returns the input

Specified by:
open in interface IVirtualFileManagerDialog
Overrides:
open in class VirtualFileManagerLocationDialog
Returns:
IVirtualFileManager

createContents

protected void createContents()
Create contents of the dialog


validateFields

protected boolean validateFields()
Validates the fields to see if they are complete

Overrides:
validateFields in class VirtualFileManagerLocationDialog
Returns:
boolean

setInitialFieldValues

protected void setInitialFieldValues()
Sets the initial field values


setUpdatedValues

protected void setUpdatedValues()
Sets the updated values onto the item

Overrides:
setUpdatedValues in class VirtualFileManagerLocationDialog

setItem

public void setItem(IVirtualFileManager vfm,
                    boolean newItem)
see IVirtualFileManagerDialog#setItem(IVirtualFileManager, boolean)

Specified by:
setItem in interface IVirtualFileManagerDialog
Overrides:
setItem in class VirtualFileManagerLocationDialog
Parameters:
vfm -
newItem -