|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.netbeans.spi.project.support.GenericSources
Factories for standard Sources
implementations.
Method Summary | |
static Sources |
genericOnly(Project p)
Lists only one source folder group, of Sources.TYPE_GENERIC ,
containing the project directory, as by group(org.netbeans.api.project.Project, org.openide.filesystems.FileObject, java.lang.String, java.lang.String, javax.swing.Icon, javax.swing.Icon) . |
static SourceGroup |
group(Project p,
FileObject rootFolder,
String name,
String displayName,
Icon icon,
Icon openedIcon)
Default kind of source folder group. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Sources genericOnly(Project p)
Sources.TYPE_GENERIC
,
containing the project directory, as by group(org.netbeans.api.project.Project, org.openide.filesystems.FileObject, java.lang.String, java.lang.String, javax.swing.Icon, javax.swing.Icon)
.
p
- a project
public static SourceGroup group(Project p, FileObject rootFolder, String name, String displayName, Icon icon, Icon openedIcon)
p
- a projectrootFolder
- the root folder to use for sourcesname
- a code name for the source groupdisplayName
- a display name for the source groupicon
- a regular icon to use for the source group, or nullopenedIcon
- an opened variant icon to use, or null
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |