}
@Override
public JComponent[] getMenuPresenters() {
List<String> dataResultsIds = DataResultTopComponent.getActiveComponentIds();
DirectoryTreeTopComponent directoryTree = DirectoryTreeTopComponent.findInstance();
DataResultTopComponent directoryListing = directoryTree.getDirectoryListing();
List<JComponent> menuItems = new ArrayList<JComponent>();
// add the main "DirectoryListing"
JMenuItem dlItem = new JMenuItem(directoryListing.getName());
dlItem.addActionListener(new OpenTopComponentAction(directoryListing));
dlItem.setEnabled(directoryTree.isOpened());
menuItems.add(dlItem);
// add search results if there are any