Class PersistableFixture
java.lang.Object
org.eclipse.nebula.widgets.nattable.test.fixture.PersistableFixture
- All Implemented Interfaces:
IPersistable
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanbooleanFields inherited from interface org.eclipse.nebula.widgets.nattable.persistence.IPersistable
DOT, VALUE_SEPARATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidloadState(String prefix, Properties properties) Restore the state out of the given Properties identified by the specified prefix.voidsaveState(String prefix, Properties properties) Saves the state to the given Properties using the specified prefix.
-
Field Details
-
loadedProperties
-
savedProperties
-
stateLoaded
public boolean stateLoaded -
stateSaved
public boolean stateSaved
-
-
Constructor Details
-
PersistableFixture
public PersistableFixture()
-
-
Method Details
-
loadState
Description copied from interface:IPersistableRestore the state out of the given Properties identified by the specified prefix. Note: The prefix must be prepended to the property key to support multiple states within one Properties instance.- Specified by:
loadStatein interfaceIPersistable- Parameters:
prefix- The prefix to use for the state keys. Is also used as the state configuration name.properties- The Properties instance to load the state from.
-
saveState
Description copied from interface:IPersistableSaves the state to the given Properties using the specified prefix. Note: The prefix must be prepended to the property key to support multiple states within one Properties instance.- Specified by:
saveStatein interfaceIPersistable- Parameters:
prefix- The prefix to use for the state keys. Is also used as the state configuration name.properties- The Properties instance to save the state to.
-