| java.lang.Object net.sourceforge.squirrel_sql.client.plugin.PluginQueryTokenizerPreferencesManager
PluginQueryTokenizerPreferencesManager | public class PluginQueryTokenizerPreferencesManager (Code) | | This is intended to be used by plugins that have custom IQueryTokenizers,
which require some sort of preference management (loading/storing preference
beans to XML file and vice-versa). In reality this functionality isn't
specific to IQueryTokenizer preferences, so this could be further generalized.
There is no need at the present time to do so.
author: manningr |
PluginQueryTokenizerPreferencesManager | public PluginQueryTokenizerPreferencesManager()(Code) | | Constructor.
|
getPreferences | public IQueryTokenizerPreferenceBean getPreferences()(Code) | | Returns the preferences bean that this class manages.
an implementation instance of IQueryTokenizerPreferenceBean |
initialize | public void initialize(IPlugin thePlugin, IQueryTokenizerPreferenceBean defaultPrefsBean) throws PluginException(Code) | | Initializes this preference manager. This must be done prior to calling
other methods.
Parameters: thePlugin - which plugin we are handling preferences for. Parameters: defaultPrefsBean - the bean to use if no preference file currentlyexists. throws: PluginException - |
savePrefs | public void savePrefs()(Code) | | Save preferences to disk.
|
unload | public void unload()(Code) | | Saves the preferences
|
|
|