boolean isEnabledIncludePathToUse = !UseDefaultIncludePath.getBooleanValue();
IncludePathToUse.getTextControl().setEditable(isEnabledIncludePathToUse);
IncludePathToUse.getTextControl().setEnabled(isEnabledIncludePathToUse);
IncludePathToUse.setEnabled(isEnabledIncludePathToUse, IncludePathToUse.getParent());
StringFieldEditor SourceFileExtensions = fPrefUtils.makeNewStringField(
page, this, fPrefService,
"instance", "SourceFileExtensions", "Source file extensions",
"A comma-separated list of file name extensions identifying the source files to process",
parent,
true, true,
false, "",
false);
fields.add(SourceFileExtensions);
Link SourceFileExtensionsDetailsLink = fPrefUtils.createDetailsLink(parent, SourceFileExtensions, SourceFileExtensions.getTextControl().getParent(), "Details ...");
SourceFileExtensionsDetailsLink.setEnabled(true);
fDetailsLinks.add(SourceFileExtensionsDetailsLink);