Package com.iizigo.ws
Class PluginPreference
- java.lang.Object
- org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer
- com.iizigo.ws.PluginPreference
public class PluginPreference extends org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer
Class used to initialize default preference values.- Author:
- Christopher Mindus
Field Summary
Fields Modifier and Type Field Description boolean
isReversed
Flag indicating reversed sort order.boolean
isSortedByType
Sorting by type.
Constructor Summary
Constructors Constructor Description PluginPreference()
Construction of the class.
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PluginPreference
getInstance()
Gets the instance.void
initializeDefaultPreferences()
Initializes the preferences store.void
savePreferences()
Saves the preferences of the sorter.
Method Detail
getInstance
public static PluginPreference getInstance()
Gets the instance.- Returns:
- The single instance of the preferences.
initializeDefaultPreferences
public void initializeDefaultPreferences()
Initializes the preferences store.- Specified by:
initializeDefaultPreferences
in classorg.eclipse.core.runtime.preferences.AbstractPreferenceInitializer
savePreferences
public void savePreferences()
Saves the preferences of the sorter.