|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.geclipse.servicejob.ui.preferences.PreferencesManager
public class PreferencesManager
Class managing preferences of mapping of Operator's Job's states to colors which should be used for displaying those states. Singleton class.
| Method Summary | |
|---|---|
Color |
getColor(java.lang.String result)
Gets color which should be used for displaying given status of Operator's Job. |
java.util.Map<ServiceJobStates,Color> |
getColorMapping()
Method for accessing map with mapping from Operator's Job's states to colors which should be used for displaying those states. |
static PreferencesManager |
getManager()
Method for accessing singleton object of PreferencesManager class. |
void |
saveState(java.util.Map<ServiceJobStates,Color> map)
Serializes given mapping of Operator's Job statuses to colors to memento file. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static PreferencesManager getManager()
PreferencesManager class.
PreferencesManager objectpublic java.util.Map<ServiceJobStates,Color> getColorMapping()
public Color getColor(java.lang.String result)
result - string representation of Operator's Job status
public void saveState(java.util.Map<ServiceJobStates,Color> map)
map - for serialization - mapping from Operator's Job's statuses to
colors which should be used for dysplaying those statuses
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||