private void initFinder() { JCFinder finder = JCompletion.getFinder(); Iterator i = elementList.iterator(); while (i.hasNext()) { JCStorageElement e = (JCStorageElement) i.next(); if (e.getProvider() != null) { finder.append(e.getProvider()); } } }
public static void init(FileObject rootFolder) { JCFinder finder = new JCBaseFinder(); JCompletion.setFinder(finder); storage = new JCStorage(rootFolder); }