|
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.MementoHandler
public class MementoHandler
Helper class for handling memento file with information of colors used for showing different Operator's Jobs result.
| Constructor Summary | |
|---|---|
MementoHandler()
|
|
| Method Summary | |
|---|---|
static boolean |
isChanged()
Method to access flag indicating that color mapping has changed. |
static java.util.Map<ServiceJobStates,Color> |
loadState()
Method for loading saved state from memento file or - in absence of such a file - loading default values for colors. |
static void |
saveState(java.util.Map<ServiceJobStates,Color> values)
Method to serialize color mapping to memento file. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MementoHandler()
| Method Detail |
|---|
public static java.util.Map<ServiceJobStates,Color> loadState()
public static void saveState(java.util.Map<ServiceJobStates,Color> values)
values - map with mapping from Operator's Job's states to colors which
should be used to displaying those states.public static boolean isChanged()
true if map has changed, false
otherwise
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||