Package com.iizigo
Class Preference
java.lang.Object
org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer
com.iizigo.Preference
Class used to initialize default preference values.
- Author:
- Christopher Mindus
- Field SummaryFieldsModifier and TypeFieldDescription- booleanCreate VirtualSpace fields automatically.- booleanResolve name collisions automatically for VirtualSpace fields.- booleanAlways show wizard for creation of VS fields.The iiziServer host name/address.- booleanIndicates iiziServer runs on localhost.- static final int- static final int- static final int- intThe iiziServer port number.- intThe Web Socket start port.- intThe Web Socket end port.
- Constructor SummaryConstructorsConstructorDescriptionConstruction of the class.- Preference- (int page) Constructs a new preference class with defaults for a page.
- Method SummaryModifier and TypeMethodDescription- static Object- getDefaultPanelValue- (String name) Gets the default value for a panel preference.Gets the designer parameters property container.- static PreferenceGets the instance.Gets the settings for the StarredAdaptive class.- voidInitializes the preferences store for all the terminal preferences.- void- saveToStore- (int page) Saves a "page" to the store.
- Field Details- P_ROOTpublic static final int P_ROOT- See Also:
 
- P_DESIGNER_GENERALpublic static final int P_DESIGNER_GENERAL- See Also:
 
- P_NAME_SPACEpublic static final int P_NAME_SPACE- See Also:
 
- isLocalHostpublic boolean isLocalHostIndicates iiziServer runs on localhost.
- hostThe iiziServer host name/address.
- portNumberpublic int portNumberThe iiziServer port number.
- wsPort1public int wsPort1The Web Socket start port.
- wsPort2public int wsPort2The Web Socket end port.
- doShowVSWizardpublic boolean doShowVSWizardAlways show wizard for creation of VS fields.
- doCreateVSFieldspublic boolean doCreateVSFieldsCreate VirtualSpace fields automatically.
- doResolveVSFieldNameCollisionspublic boolean doResolveVSFieldNameCollisionsResolve name collisions automatically for VirtualSpace fields.
 
- Constructor Details- Preferencepublic Preference()Construction of the class.
- Preferencepublic Preference- (int page) Constructs a new preference class with defaults for a page.
 
- Method Details- getInstanceGets the instance.- Returns:
- The single instance of the preferences.
 
- getDefaultPanelValueGets the default value for a panel preference.- Parameters:
- name- The value name.
- Returns:
- An object: Boolean, Integer or Long.
 
- getDesignerParametersGets the designer parameters property container.- Returns:
- The property container with the designer properties.
 
- initializeDefaultPreferencespublic void initializeDefaultPreferences()Initializes the preferences store for all the terminal preferences.- Specified by:
- initializeDefaultPreferencesin class- AbstractPreferenceInitializer
- See Also:
 
- saveToStorepublic void saveToStore- (int page) Saves a "page" to the store.- Parameters:
- page- The page.
 
- getStarredAdaptiveSettingsGets the settings for the StarredAdaptive class.- Returns:
- The string for the "StarredAdaptive" class.