1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Bug 326009: Option to disable edit field for parsing files up front, by John Liu.

This commit is contained in:
Markus Schorn 2010-09-30 08:14:47 +00:00
parent dfd419a0c0
commit 5b14b5fefb

View file

@ -318,4 +318,19 @@ public abstract class AbstractIndexerPage extends AbstractCOptionPage {
private Button createSkipMacroAndTypeReferencesButton(Composite page) {
return ControlFactory.createCheckBox(page, DialogsMessages.AbstractIndexerPage_skipTypeAndMacroReferences);
}
/**
* Enable or disable support for parsing files up front. Essentially the according widget will be
* enabled or disabled.
* There will be no effect by calling this function before the IndexerPage is created
* (by {@link #createControl(Composite)}).
* <p> By default, support for parsing files up front is enabled.
*
* @since 5.3
*/
protected void setSupportForFilesParsedUpFront(boolean enable){
if(fFilesToParseUpFront!=null){
fFilesToParseUpFront.setEnabled(enable);
}
}
}