Package org.eclipse.jdt.ui.text.folding
Interface IJavaFoldingPreferenceBlock
- All Known Subinterfaces:
 IScopedJavaFoldingPreferenceBlock
public interface IJavaFoldingPreferenceBlock
Contributors to the 
org.eclipse.jdt.ui.foldingStructureProvider extension point
 can specify an implementation of this interface to be displayed on the Java > Editor > Folding
 preference page.
 Clients may implement this interface.
- Since:
 - 3.0
 
- 
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.swt.widgets.ControlcreateControl(org.eclipse.swt.widgets.Composite parent) Creates the control that will be displayed on the Java > Editor > Folding preference page.voiddispose()Called when the preference page is being disposed.voidCalled after creating the control.voidCalled when theDefaultsbutton is pressed on the preference page.voidCalled when theOKbutton is pressed on the preference page. 
- 
Method Details
- 
createControl
org.eclipse.swt.widgets.Control createControl(org.eclipse.swt.widgets.Composite parent) Creates the control that will be displayed on the Java > Editor > Folding preference page.- Parameters:
 parent- the parent composite to which to add the preferences control- Returns:
 - the control that was added to 
parent 
 - 
initialize
void initialize()Called after creating the control. Implementations should load the preferences values and update the controls accordingly. - 
performOk
void performOk()Called when theOKbutton is pressed on the preference page. Implementations should commit the configured preference settings into their form of preference storage. - 
performDefaults
void performDefaults()Called when theDefaultsbutton is pressed on the preference page. Implementation should reset any preference settings to their default values and adjust the controls accordingly. - 
dispose
void dispose()Called when the preference page is being disposed. Implementations should free any resources they are holding on to. 
 -