List assembled = assembler.assemble(unassembled);
return (TocContribution[])assembled.toArray(new TocContribution[assembled.size()]);
}
private Set getIgnoredTocContributions() {
HelpData helpData = HelpData.getProductHelpData();
if (helpData != null) {
return helpData.getHiddenTocs();
}
else {
HashSet ignored = new HashSet();
Preferences pref = HelpPlugin.getDefault().getPluginPreferences();
String preferredTocs = pref.getString(HelpPlugin.IGNORED_TOCS_KEY);