org.mockcentral.editor.preferences
Class MockCentralEditorPreferences
java.lang.Object
org.mockcentral.editor.preferences.MockCentralEditorPreferences
public class MockCentralEditorPreferences
- extends java.lang.Object
A simple class to store user-defined preferences/settings for the operation
of the editor. Actual preference storage and retrieval is delegated to the current IMockCentralEditor.
- Author:
- David Hutchinson
|
Method Summary |
static java.lang.Object |
getPreferenceValue(java.lang.String preferenceName)
Returns the value of a preference field. |
static void |
setPreferenceValue(java.lang.String preferenceName,
java.lang.Object preferenceValue)
Sets the value of a preference field. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_JNDI_PREFIX_PREF_NAME
public static final java.lang.String DEFAULT_JNDI_PREFIX_PREF_NAME
- String constant for "default JNDI prefix" preference name. This
preference determines the default JNDI prefix to be used when assigning
new JNDI names for Mock Objects.
- See Also:
- Constant Field Values
MockCentralEditorPreferences
public MockCentralEditorPreferences()
setPreferenceValue
public static void setPreferenceValue(java.lang.String preferenceName,
java.lang.Object preferenceValue)
- Sets the value of a preference field.
- Parameters:
preferenceName - the name of the preference field.preferenceValue - the value for the preference field.
getPreferenceValue
public static java.lang.Object getPreferenceValue(java.lang.String preferenceName)
- Returns the value of a preference field.
- Parameters:
preferenceName - the name of the preference field.
- Returns:
- the value of the preference field.