| org.netbeans.api.fileinfo.NonRecursiveFolder
NonRecursiveFolder | public interface NonRecursiveFolder (Code) | | Marker interface for representation of a folder without subfolders.
When an implementation of this interface is contained in the
lookup of a node, actions on that node should not process the subfolders
of this folder.
It is permitted for a Node to have both the
org.openide.loaders.DataFolder and NonRecursiveFolder in its lookup. In this case the
NonRecursiveFolder.getFolder has to
return the same
FileObject as the
org.openide.loaders.DataFolder.getPrimaryFile method.
Any action which checks for the NonRecursiveFolder at all must prefer it to
the DataFolder since it is considered to be more specific information.
author: Martin Entlicher since: 1.4 |
Method Summary | |
FileObject | getFolder() Get the folder file object, which represents the non-recursive folder. |
getFolder | FileObject getFolder()(Code) | | Get the folder file object, which represents the non-recursive folder.
Only direct children should be processed, no sub-folders.
The file object that represents non-recursive folder. |
|
|