站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 4.1.0

RecursionAwareCommandSupport (NetBeans VCS API) - NetBeans API Javadoc 4.1.0

 

org.netbeans.modules.vcscore.commands
Interface RecursionAwareCommandSupport

All Known Implementing Classes:
UserCommandSupport

public interface RecursionAwareCommandSupport

This extension of CommandSupport can be asked whether the created commands will be able to process folders nonrecursively. This is necessary for flat views, which do not show subfolders.


Method Summary
 boolean canProcessFoldersNonRecursively()
          Tells, whether the created commands will be able to process folders non-recursively.
 

Method Detail

canProcessFoldersNonRecursively

public boolean canProcessFoldersNonRecursively()
Tells, whether the created commands will be able to process folders non-recursively. If this is true, the created commands should implement RecursionAwareCommand and when setRecursionBanned(true) is called on them, they should still return non-null from getApplicableFiles() method for some files.

Returns:
true when the created commands can process folders non-recursively.

 

Built on May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.