com.aptana.ide.syncing
Class ChooseSyncConfigurationDialog

java.lang.Object
  extended by org.eclipse.swt.widgets.Dialog
      extended by com.aptana.ide.core.ui.dialogs.GenericDialog
          extended by com.aptana.ide.syncing.ChooseSyncConfigurationDialog

public class ChooseSyncConfigurationDialog
extends GenericDialog

Author:
Ingo Muschenetz

Field Summary
protected  java.lang.Object result
          result
protected  org.eclipse.swt.widgets.Shell shell
          shell
 
Constructor Summary
ChooseSyncConfigurationDialog(org.eclipse.swt.widgets.Shell parent)
          Create the dialog
ChooseSyncConfigurationDialog(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
 VirtualFileManagerSyncPair open()
          Opens the dialog and returns the input
 void setItem(VirtualFileManagerSyncPair[] vfm)
          setItem
protected  boolean validateFields()
          Validates the fields to see if they are complete
 
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

ChooseSyncConfigurationDialog

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

Parameters:
parent -
style -

ChooseSyncConfigurationDialog

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

Parameters:
parent -
Method Detail

open

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

Returns:
String

createContents

protected void createContents()
Create contents of the dialog


validateFields

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

Returns:
boolean

setItem

public void setItem(VirtualFileManagerSyncPair[] vfm)
setItem

Parameters:
vfm -

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