List formats = ExtensionManager.getExecutableExtensions(
NOTE_FORMAT_EXTENSION_TAG, null);
for (Iterator i = formats.iterator(); i.hasNext();) {
Object o = (Object) i.next();
if (o instanceof HierarchyNoteFormat) {
HierarchyNoteFormat nf = (HierarchyNoteFormat) o;
result.put(nf.getID(), nf);
}
}
NOTE_FORMATS = Collections.synchronizedMap(result);
}
return NOTE_FORMATS;