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
FieldsModifier and TypeFieldDescriptionbooleanFlag indicating reversed sort order.booleanSorting by type.Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionstatic PluginPreferenceGets the instance.voidInitializes the preferences store.voidSaves the preferences of the sorter.
Field Details
isReversed
public boolean isReversedFlag indicating reversed sort order.isSortedByType
public boolean isSortedByTypeSorting by type.
Constructor Details
PluginPreference
public PluginPreference()Construction of the class.
Method Details
getInstance
Gets the instance.- Returns:
- The single instance of the preferences.
initializeDefaultPreferences
public void initializeDefaultPreferences()Initializes the preferences store.- Specified by:
initializeDefaultPreferencesin classorg.eclipse.core.runtime.preferences.AbstractPreferenceInitializer
savePreferences
public void savePreferences()Saves the preferences of the sorter.