org.openoffice.da.comp.w2lcommon.filter
public abstract class OptionsDialogBase extends DialogBase implements XPropertyAccess
Field Summary | |
---|---|
protected XMultiServiceFactory | xMSF |
Constructor Summary | |
---|---|
OptionsDialogBase(XComponentContext xContext) Create a new OptionsDialogBase |
Method Summary | |
---|---|
void | finalize() Finalize the dialog after execution (eg. save settings to the registry) |
abstract String | getDialogLibraryName() Return the name of the library containing the dialog |
abstract String | getDialogName() Return the name of the dialog within the library |
PropertyValue[] | getPropertyValues() |
abstract String | getRegistryPath() Return the path to the options in the registry |
Type[] | getTypes() |
void | initialize() Initialize the dialog (eg. with settings from the registry) |
protected boolean | isLocked(String sOptionName) |
protected boolean | loadCheckBoxOption(XPropertySet xProps, String sName) |
protected String | loadComboBoxOption(XPropertySet xProps, String sName) |
protected void | loadConfig(XPropertySet xProps) |
protected short | loadListBoxOption(XPropertySet xProps, String sName) |
protected int | loadNumericOption(XPropertySet xProps, String sName) |
protected abstract void | loadSettings(XPropertySet xRegistryProps) Load settings from the registry to the dialog
The subclass must implement this |
protected String | loadTextFieldOption(XPropertySet xProps, String sName) |
protected boolean | saveCheckBoxOption(XPropertySet xProps, String sName) |
protected boolean | saveCheckBoxOption(XPropertySet xProps, PropertyHelper filterData, String sName, String sOptionName) |
protected String | saveComboBoxOption(XPropertySet xProps, String sName) |
protected String | saveComboBoxOption(XPropertySet xProps, PropertyHelper filterData, String sName, String sOptionName) |
protected short | saveConfig(XPropertySet xProps, PropertyHelper filterData) |
protected short | saveListBoxOption(XPropertySet xProps, String sName) |
protected short | saveListBoxOption(XPropertySet xProps, PropertyHelper filterData, String sName, String sOptionName, String[] sValues) |
protected int | saveNumericOption(XPropertySet xProps, String sName) |
protected int | saveNumericOptionAsPercentage(XPropertySet xProps, PropertyHelper filterData, String sName, String sOptionName) |
protected abstract void | saveSettings(XPropertySet xRegistryProps, PropertyHelper filterData) Save settings from the dialog to the registry and create FilterData
The subclass must implement this |
protected String | saveTextFieldOption(XPropertySet xProps, String sName) |
protected String | saveTextFieldOption(XPropertySet xProps, PropertyHelper filterData, String sName, String sOptionName) |
void | setPropertyValues(PropertyValue[] props) |
protected void | updateLockedOptions() |