org.eclipse.cdt.internal.ui.preferences
Class CEditorHoverConfigurationBlock

java.lang.Object
  extended by org.eclipse.cdt.internal.ui.preferences.CEditorHoverConfigurationBlock
All Implemented Interfaces:
IPreferenceConfigurationBlock

public class CEditorHoverConfigurationBlock
extends java.lang.Object
implements IPreferenceConfigurationBlock

CEditorHoverConfigurationBlock


Constructor Summary
CEditorHoverConfigurationBlock(org.eclipse.jface.preference.PreferencePage mainPreferencePage, OverlayPreferenceStore store)
           
 
Method Summary
 org.eclipse.swt.widgets.Control createControl(org.eclipse.swt.widgets.Composite parent)
          Creates the preference control.
 void dispose()
          Called when the preference page is being disposed.
 void initialize()
          Called after creating the control.
 void performDefaults()
          Called when the Defaults button is pressed on the preference page.
 void performOk()
          Called when the OK button is pressed on the preference page.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CEditorHoverConfigurationBlock

public CEditorHoverConfigurationBlock(org.eclipse.jface.preference.PreferencePage mainPreferencePage,
                                      OverlayPreferenceStore store)
Method Detail

createControl

public org.eclipse.swt.widgets.Control createControl(org.eclipse.swt.widgets.Composite parent)
Description copied from interface: IPreferenceConfigurationBlock
Creates the preference control.

Specified by:
createControl in interface IPreferenceConfigurationBlock
Parameters:
parent - the parent composite to which to add the preferences control
Returns:
the control that was added to parent

initialize

public void initialize()
Description copied from interface: IPreferenceConfigurationBlock
Called after creating the control. Implementations should load the preferences values and update the controls accordingly.

Specified by:
initialize in interface IPreferenceConfigurationBlock

performOk

public void performOk()
Description copied from interface: IPreferenceConfigurationBlock
Called when the OK button is pressed on the preference page. Implementations should commit the configured preference settings into their form of preference storage.

Specified by:
performOk in interface IPreferenceConfigurationBlock

performDefaults

public void performDefaults()
Description copied from interface: IPreferenceConfigurationBlock
Called when the Defaults button is pressed on the preference page. Implementation should reset any preference settings to their default values and adjust the controls accordingly.

Specified by:
performDefaults in interface IPreferenceConfigurationBlock

dispose

public void dispose()
Description copied from interface: IPreferenceConfigurationBlock
Called when the preference page is being disposed. Implementations should free any resources they are holding on to.

Specified by:
dispose in interface IPreferenceConfigurationBlock