353354355356357358359360361362363
/* list all files given a path, dont recurse. */ /* add users actual workspace files */ IVResource r1 = getResource(path); if (r1 != null) { if (r1.isDirectory()) { found = r1.listFiles(); } } r1 = getLibFile(path); if (r1 != null) { if (r1.isDirectory()) {
359360361362363364365366367368369
} } r1 = getLibFile(path); if (r1 != null) { if (r1.isDirectory()) { IVResource[] list = r1.listFiles(); found = VResourceUtils.merge(found, list); } } return found; }
302303304305306307308309310311312
/* list all files given a path, dont recurse. */ /* add users actual workspace files */ IVResource r1 = getUserFile(path); if (r1 != null) { if (r1.isDirectory()) { found = r1.listFiles(); } } /* add links */ /* r1 = getLinkedResource(path);
319320321322323324325326327328329
*/ r1 = getLibFile(path); if (r1 != null) { if (r1.isDirectory()) { IVResource[] list = r1.listFiles(); found = VResourceUtils.merge(found, list); } } return found;