org.scohen.juploadr.prefs
Class ConnectionForm

java.lang.Object
  extended byComposite
      extended byorg.scohen.juploadr.prefs.BaseConfigurationForm
          extended byorg.scohen.juploadr.prefs.ConnectionForm
All Implemented Interfaces:
ConfigurationForm

public class ConnectionForm
extends BaseConfigurationForm

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.scohen.juploadr.prefs.BaseConfigurationForm
api, parent
 
Constructor Summary
ConnectionForm(Composite parent)
           
 
Method Summary
 void disposed(DisposeEvent event)
           
 java.lang.String getFormName()
          Get a short name for the preferences this form class provides access to.
protected  void initUI()
           
 void saveChanges()
          Save any changes made using the form.
protected  void throttleButtonClicked()
           
 Fault validateChanges()
          Validate any changes made, returning an array of user-friendly error messages if there is a problem.
 
Methods inherited from class org.scohen.juploadr.prefs.BaseConfigurationForm
accountChanged, resetUI, setConfigurationDialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionForm

public ConnectionForm(Composite parent)
Method Detail

initUI

protected void initUI()
Specified by:
initUI in class BaseConfigurationForm

throttleButtonClicked

protected void throttleButtonClicked()

saveChanges

public void saveChanges()
Description copied from interface: ConfigurationForm
Save any changes made using the form. If the form internally tracks whether changes have been made, this call may be a no-op.

Specified by:
saveChanges in interface ConfigurationForm
Specified by:
saveChanges in class BaseConfigurationForm

validateChanges

public Fault validateChanges()
Description copied from interface: ConfigurationForm
Validate any changes made, returning an array of user-friendly error messages if there is a problem. If validation passes, then returns null or an empty array.

Specified by:
validateChanges in interface ConfigurationForm
Specified by:
validateChanges in class BaseConfigurationForm

getFormName

public java.lang.String getFormName()
Description copied from interface: ConfigurationForm
Get a short name for the preferences this form class provides access to.

Specified by:
getFormName in interface ConfigurationForm
Specified by:
getFormName in class BaseConfigurationForm

disposed

public void disposed(DisposeEvent event)