de.cau.cs.kieler.sim.kiem.config.managers
Class PropertyUsageManager

java.lang.Object
  extended by de.cau.cs.kieler.sim.kiem.config.managers.AbstractManager
      extended by de.cau.cs.kieler.sim.kiem.config.managers.PropertyUsageManager

public final class PropertyUsageManager
extends AbstractManager

Manages a list of keys for the properties where the default property should be used rather than the property value in the currently loaded configuration.

Rating proposed yellow
(2010-01-27)

Method Summary
 List<KiemPropertyKeyWrapper> getIgnoredKeys()
          Getter for the list of ignored keys.
static PropertyUsageManager getInstance()
          Returns the singleton instance of this manager.
 void load()
          Load the saved data from the plugin's preference store.
 void save()
          Saves the data inside the manager into the plugin's preference store.
 void setIgnoredKeys(List<KiemPropertyKeyWrapper> keysParam)
          Setter for the list of ignored keys.
 
Methods inherited from class de.cau.cs.kieler.sim.kiem.config.managers.AbstractManager
addEventListener, load, notifyListeners, remove, removeEventListener, save, saveAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static PropertyUsageManager getInstance()
Returns the singleton instance of this manager.

Returns:
the singleton instance

getIgnoredKeys

public List<KiemPropertyKeyWrapper> getIgnoredKeys()
Getter for the list of ignored keys.

Returns:
the list of ignored keys.

setIgnoredKeys

public void setIgnoredKeys(List<KiemPropertyKeyWrapper> keysParam)
Setter for the list of ignored keys.

Parameters:
keysParam - the new list of ignored keys

load

public void load()
Load the saved data from the plugin's preference store. Usually not necessary as data is loaded on demand.

Specified by:
load in class AbstractManager

save

public void save()
Saves the data inside the manager into the plugin's preference store.

Specified by:
save in class AbstractManager