finalize
public void finalize()
Finalize the dialog after execution (eg. save settings to the registry)
- finalize in interface DialogBase
getDialogLibraryName
public abstract String getDialogLibraryName()
Return the name of the library containing the dialog
- getDialogLibraryName in interface DialogBase
getDialogName
public abstract String getDialogName()
Return the name of the dialog within the library
- getDialogName in interface DialogBase
getPropertyValues
public PropertyValue[] getPropertyValues()
getRegistryPath
public abstract String getRegistryPath()
Return the path to the options in the registry
initialize
public void initialize()
Initialize the dialog (eg. with settings from the registry)
- initialize in interface DialogBase
isLocked
protected boolean isLocked(String sOptionName)
loadCheckBoxOption
protected boolean loadCheckBoxOption(XPropertySet xProps,
String sName)
loadComboBoxOption
protected String loadComboBoxOption(XPropertySet xProps,
String sName)
loadConfig
protected void loadConfig(XPropertySet xProps)
loadListBoxOption
protected short loadListBoxOption(XPropertySet xProps,
String sName)
loadNumericOption
protected int loadNumericOption(XPropertySet xProps,
String sName)
loadSettings
protected abstract void loadSettings(XPropertySet xRegistryProps)
Load settings from the registry to the dialog
The subclass must implement this
loadTextFieldOption
protected String loadTextFieldOption(XPropertySet xProps,
String sName)
saveCheckBoxOption
protected boolean saveCheckBoxOption(XPropertySet xProps,
String sName)
saveCheckBoxOption
protected boolean saveCheckBoxOption(XPropertySet xProps,
PropertyHelper filterData,
String sName,
String sOptionName)
saveComboBoxOption
protected String saveComboBoxOption(XPropertySet xProps,
String sName)
saveComboBoxOption
protected String saveComboBoxOption(XPropertySet xProps,
PropertyHelper filterData,
String sName,
String sOptionName)
saveConfig
protected short saveConfig(XPropertySet xProps,
PropertyHelper filterData)
saveListBoxOption
protected short saveListBoxOption(XPropertySet xProps,
String sName)
saveListBoxOption
protected short saveListBoxOption(XPropertySet xProps,
PropertyHelper filterData,
String sName,
String sOptionName,
String[] sValues)
saveNumericOption
protected int saveNumericOption(XPropertySet xProps,
String sName)
saveNumericOptionAsPercentage
protected int saveNumericOptionAsPercentage(XPropertySet xProps,
PropertyHelper filterData,
String sName,
String sOptionName)
saveSettings
protected abstract void saveSettings(XPropertySet xRegistryProps,
PropertyHelper filterData)
Save settings from the dialog to the registry and create FilterData
The subclass must implement this
saveTextFieldOption
protected String saveTextFieldOption(XPropertySet xProps,
String sName)
saveTextFieldOption
protected String saveTextFieldOption(XPropertySet xProps,
PropertyHelper filterData,
String sName,
String sOptionName)
setPropertyValues
public void setPropertyValues(PropertyValue[] props)
updateLockedOptions
protected void updateLockedOptions()