|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.internal.ui.text.folding.DefaultCFoldingPreferenceBlock
public class DefaultCFoldingPreferenceBlock
Constructor Summary | |
---|---|
DefaultCFoldingPreferenceBlock()
|
Method Summary | |
---|---|
org.eclipse.swt.widgets.Control |
createControl(org.eclipse.swt.widgets.Composite composite)
Creates the control that will be displayed on the C/C++ > Editor > Folding preference page. |
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 |
---|
public DefaultCFoldingPreferenceBlock()
Method Detail |
---|
public org.eclipse.swt.widgets.Control createControl(org.eclipse.swt.widgets.Composite composite)
ICFoldingPreferenceBlock
createControl
in interface ICFoldingPreferenceBlock
composite
- the parent composite to which to add the preferences control
parent
public void performOk()
ICFoldingPreferenceBlock
OK
button is pressed on the preference
page. Implementations should commit the configured preference settings
into their form of preference storage.
performOk
in interface ICFoldingPreferenceBlock
public void initialize()
ICFoldingPreferenceBlock
initialize
in interface ICFoldingPreferenceBlock
public void performDefaults()
ICFoldingPreferenceBlock
Defaults
button is pressed on the
preference page. Implementation should reset any preference settings to
their default values and adjust the controls accordingly.
performDefaults
in interface ICFoldingPreferenceBlock
public void dispose()
ICFoldingPreferenceBlock
dispose
in interface ICFoldingPreferenceBlock
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |