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
Modifier and TypeFieldDescriptionboolean
Flag indicating reversed sort order.boolean
Sorting by type.Constructor Summary
Method Summary
Modifier and TypeMethodDescriptionstatic PluginPreference
Gets the instance.void
Initializes the preferences store.void
Saves 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:
initializeDefaultPreferences
in classorg.eclipse.core.runtime.preferences.AbstractPreferenceInitializer
savePreferences
public void savePreferences()Saves the preferences of the sorter.