| java.lang.Object org.netbeans.spi.project.ui.support.ProjectChooser
ProjectChooser | public class ProjectChooser (Code) | | Support for creating project chooser.
author: Petr Hrebejk |
Method Summary | |
public static File | getProjectsFolder() Returns the folder last used for creating a new project.
File the folder, never returns null. | public static JFileChooser | projectChooser() Creates a project chooser. | public static void | setProjectsFolder(File folder) Sets the folder last used for creating a new project.
Parameters: folder - The folder to be set as last used. |
getProjectsFolder | public static File getProjectsFolder()(Code) | | Returns the folder last used for creating a new project.
File the folder, never returns null. In the casewhen the projects folder was not set the home folder is returned. |
projectChooser | public static JFileChooser projectChooser()(Code) | | Creates a project chooser.
New instance of JFileChooser which is able to selectproject directories. |
setProjectsFolder | public static void setProjectsFolder(File folder)(Code) | | Sets the folder last used for creating a new project.
Parameters: folder - The folder to be set as last used. Must not be null throws: IllegalArgumentException - if folder parameter is null or not a directory. |
|
|