|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.folt.models.applicationmodel.guimodel.editor.datasourceeditor.EditorConfiguration
public class EditorConfiguration
| Constructor Summary | |
|---|---|
EditorConfiguration(org.eclipse.swt.widgets.Shell currentShell,
java.lang.String configDirectory,
java.lang.String currentUser)
|
|
EditorConfiguration(org.eclipse.swt.widgets.Shell currentShell,
java.lang.String configDirectory,
java.lang.String applicationName,
java.lang.String currentUser)
|
|
| Method Summary | |
|---|---|
java.lang.String |
adaptToAscii(java.lang.String string)
adaptToAscii replaces non ASCII chars with "_" in the given string |
java.lang.Boolean |
loadBooleanValueForKey(java.lang.String key)
loadBooleanValueForKey load a value for a given key |
int |
loadIntValueForKey(java.lang.String key)
loadBooleanValueForKey load a value for a given key |
java.lang.String |
loadValueForKey(java.lang.String key)
loadValueForKey load a value for a given key |
boolean |
saveKeyValuePair(java.lang.String key,
boolean value)
saveKeyValuePair saves a value for the given user for a key |
boolean |
saveKeyValuePair(java.lang.String key,
int value)
saveKeyValuePair saves a value for the given user for a key |
boolean |
saveKeyValuePair(java.lang.String key,
java.lang.String value)
saveKeyValuePair saves a value for the given user for a key |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EditorConfiguration(org.eclipse.swt.widgets.Shell currentShell,
java.lang.String configDirectory,
java.lang.String currentUser)
currentShell - the shell - can be null; for error messagesconfigDirectory - the directory where the configuration file should be storedcurrentUser - the user to create/read the configurations from
public EditorConfiguration(org.eclipse.swt.widgets.Shell currentShell,
java.lang.String configDirectory,
java.lang.String applicationName,
java.lang.String currentUser)
currentShell - the shell - can be null; for error messagesconfigDirectory - the directory where the configuration file should be storedapplicationName - the name of the applicationcurrentUser - the user to create/read the configurations from| Method Detail |
|---|
public java.lang.String adaptToAscii(java.lang.String string)
string - the string name to adapt
public java.lang.Boolean loadBooleanValueForKey(java.lang.String key)
key - the key to search for
public int loadIntValueForKey(java.lang.String key)
key - the key to search for
public java.lang.String loadValueForKey(java.lang.String key)
key - the key to search for
public boolean saveKeyValuePair(java.lang.String key,
boolean value)
key - the key for the valuevalue - the value to store
public boolean saveKeyValuePair(java.lang.String key,
int value)
key - the key for the valuevalue - the value to store
public boolean saveKeyValuePair(java.lang.String key,
java.lang.String value)
key - the key for the valuevalue - the value to store
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||