| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.netbeans.api.vcs.VcsManager
The management of VCS actions. This class is a singleton, the instance is accessible through getDefault(). Do not try to instantiate.
| Method Summary | |
|  Command | createCommand(Class cmdClass,
              FileObject[] files)Create a command of the given class, that will act on the array of files. | 
|  Command | createCommand(String cmdName,
              FileObject[] files)Create a command of the given name, that will act on the array of files. | 
|  String[] | findCommands(FileObject[] files)Get the available commands for a set of files. | 
| static VcsManager | getDefault()Get the default implementation of VcsManager. | 
|  FileStatusInfo | getFileStatus(FileObject file)Get the file status information. | 
|  boolean | showCustomizer(Command cmd)Let the user to visually customize the command. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
public static VcsManager getDefault()
public String[] findCommands(FileObject[] files)
public Command createCommand(String cmdName, FileObject[] files) throws IllegalArgumentException
cmdName - The name of the command.files - The array of files to act on.
null if no such command exist
         or can not be run on provided files.
IllegalArgumentExceptionpublic Command createCommand(Class cmdClass, FileObject[] files) throws IllegalArgumentException
cmdClass - The class type of the command. It has to be a class or
        interface extending Command.files - The array of files to act on.
null if no such command exist
         or can not be run on provided files.
IllegalArgumentExceptionpublic boolean showCustomizer(Command cmd)
cmd - The command to customize.
public FileStatusInfo getFileStatus(FileObject file)
file - The file to find the status for
FileStatusInfo or null when
 the file status is unknown or no status provider was found for this file.| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||