protected List<ImportantFiles> createKeys() { ArrayList<ImportantFiles> list = new ArrayList<ImportantFiles>(); for (ImportantFiles di : Lookup.getDefault().lookupAll(ImportantFiles.class)) { if (di.hasFiles(project)) { list.add(di); } } return list; }
@Override protected Node[] createNodes(ImportantFiles key) { Node[] nodes = key.getNodes(project); return nodes; }