public class StateStorageMaster
extends java.lang.Object
Constructor and Description |
---|
StateStorageMaster() |
Modifier and Type | Method and Description |
---|---|
static void |
activeCoolMapChanged(CoolMapObject oldObject,
CoolMapObject newObject) |
static void |
clearAllStates() |
static void |
clearStates(CoolMapObject object) |
static CoolMapState |
getCopiedState() |
static java.util.List<CoolMapState> |
getStatesForCoolMapObject(CoolMapObject coolMapObject) |
static void |
initialize() |
static void |
loadStateForCoolMapObject(CoolMapObject coolMapObject,
CoolMapState stateToLoad) |
static void |
redo(CoolMapObject object) |
static void |
saveStateBeforeOperation(java.lang.String operationName,
CoolMapObject coolMapObject) |
static void |
saveStateForCoolMapObject(CoolMapObject coolMapObject,
java.lang.String stateName) |
static void |
setCopiedState(CoolMapState state) |
static void |
undo(CoolMapObject object) |
static void |
updateMenus(CoolMapObject object) |
public static void initialize()
public static void saveStateForCoolMapObject(CoolMapObject coolMapObject, java.lang.String stateName)
public static void loadStateForCoolMapObject(CoolMapObject coolMapObject, CoolMapState stateToLoad)
public static java.util.List<CoolMapState> getStatesForCoolMapObject(CoolMapObject coolMapObject)
public static void undo(CoolMapObject object)
public static void redo(CoolMapObject object)
public static void saveStateBeforeOperation(java.lang.String operationName, CoolMapObject coolMapObject)
public static void setCopiedState(CoolMapState state)
public static CoolMapState getCopiedState()
public static void clearStates(CoolMapObject object)
public static void clearAllStates()
public static void activeCoolMapChanged(CoolMapObject oldObject, CoolMapObject newObject)
public static void updateMenus(CoolMapObject object)