public class MySQLPreferencesUIProvider extends Object implements IPreferencesUIProvider
Constructor and Description |
---|
MySQLPreferencesUIProvider() |
Modifier and Type | Method and Description |
---|---|
void |
addUIElements(PropertiesShowPanelFactory pspf,
james.core.util.misc.Pair<james.core.data.DBConnectionData,String> connData)
Adds the UI elements via a properties panel factory.
|
james.core.util.misc.Pair<james.core.data.DBConnectionData,String> |
getDBPreferences()
Gets the database connection preferences.
|
int |
getHeight()
Gets the required height of the UI elements.
|
void |
setDBPreferences(james.core.util.misc.Pair<james.core.data.DBConnectionData,String> connData)
Sets the database connection preferences.
|
public int getHeight()
IPreferencesUIProvider
getHeight
in interface IPreferencesUIProvider
public void addUIElements(PropertiesShowPanelFactory pspf, james.core.util.misc.Pair<james.core.data.DBConnectionData,String> connData)
IPreferencesUIProvider
addUIElements
in interface IPreferencesUIProvider
pspf
- the properties panel factoryconnData
- the current connection datapublic james.core.util.misc.Pair<james.core.data.DBConnectionData,String> getDBPreferences()
IPreferencesUIProvider
getDBPreferences
in interface IPreferencesUIProvider
public void setDBPreferences(james.core.util.misc.Pair<james.core.data.DBConnectionData,String> connData)
IPreferencesUIProvider
setDBPreferences
in interface IPreferencesUIProvider
connData
- the preferencesCopyright © 2012. All Rights Reserved.