Package org.openide.filesystems

Examples of org.openide.filesystems.FileObject.refresh()


                                            if (ct == 0) {
                                                try {
                                                    project.getProjectDirectory().refresh();
                                                    FileObject fo = project.getProjectDirectory().getFileObject( NodeJSProjectFactory.NODE_MODULES_FOLDER );
                                                    if (fo != null && fo.isValid()) {
                                                        fo.refresh();
                                                    }
                                                    root.updateChildren();
                                                } finally {
                                                    h.finish();
                                                }
View Full Code Here


                Thread.currentThread().interrupt();
            } catch (ExecutionException ex) {
                throw new ExtendingException(ex.getLocalizedMessage());
            }
            // #18
            sourceDirectory.refresh(true);
        } else {
            // do nothing
            return Collections.emptySet();
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.