org.scohen.juploadr.prefs
Class BaseConfigurationForm
java.lang.Object
Composite
org.scohen.juploadr.prefs.BaseConfigurationForm
- All Implemented Interfaces:
- ConfigurationForm
- Direct Known Subclasses:
- ConnectionForm, FlickrForm, MetadataForm, ZoomrAccountForm, ZooomrMetadataForm
- public abstract class BaseConfigurationForm
- extends Composite
- implements ConfigurationForm
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parent
protected ConfigurationDialog parent
api
protected ImageUploadApi api
BaseConfigurationForm
public BaseConfigurationForm(Composite parent)
saveChanges
public abstract 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
validateChanges
public abstract 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
- Returns:
initUI
protected abstract void initUI()
getFormName
public abstract 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
- Returns:
- a short name for the preferences this form provides access to.
setConfigurationDialog
public void setConfigurationDialog(ConfigurationDialog dialog)
- Specified by:
setConfigurationDialog in interface ConfigurationForm
accountChanged
public void accountChanged()
- Specified by:
accountChanged in interface ConfigurationForm
resetUI
protected void resetUI()