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:
parent
dfd419a0c0
commit
5b14b5fefb
1 changed files with 15 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue