Index: OpenProjects.java =================================================================== RCS file: /cvs/projects/projectuiapi/src/org/netbeans/api/project/ui/OpenProjects.java,v retrieving revision 1.4 diff -u -r1.4 OpenProjects.java --- OpenProjects.java 23 Jun 2004 18:12:01 -0000 1.4 +++ OpenProjects.java 9 Dec 2004 14:17:27 -0000 @@ -67,7 +67,26 @@ public Project[] getOpenProjects() { return trampoline.getOpenProjectsAPI(); } - + + /** + * Opens given projects. + * Acquires ProjectManager.mutex in the write mode. + * @param projects to be opened. + * @param openRequiredProjects if true also subprojects are opened. + */ + public void open (Project[] projects, boolean openRequiredProjects) { + trampoline.openAPI (projects,openRequiredProjects); + } + + /** + * Closes given projects. + * Acquires ProjectManager.mutex in the write mode. + * @param projects to be closed. + */ + public void close (Project[] projects) { + trampoline.closeAPI (projects); + } + /** * Adds a listener to changes in the set of open projects. * As this class is a singleton and is not subject to garbage collection,