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

VcsFactory (NetBeans VCS API) - NetBeans API Javadoc 4.1.0

 

org.netbeans.modules.vcscore
Interface VcsFactory

All Known Implementing Classes:
DefaultVcsFactory

public interface VcsFactory


Method Summary
 SystemAction[] getActions(Collection fos)
          Get the array of VCS actions for a collection of FileObjects.
 VcsCommandExecutor getCommandExecutor(VcsCommand command, Hashtable variables)
          Deprecated. This method is retained for compatibility reasons. It may disappear after compatibility with old VCS "API" will not be needed.
 FileStatusProvider getFileStatusProvider()
           
 

Method Detail

getFileStatusProvider

public FileStatusProvider getFileStatusProvider()

getActions

public SystemAction[] getActions(Collection fos)
Get the array of VCS actions for a collection of FileObjects. If the collection is null, it should get the FileObjects from currently selected nodes.

Parameters:
fos - the collection of FileObjects or null.

getCommandExecutor

public VcsCommandExecutor getCommandExecutor(VcsCommand command,
                                             Hashtable variables)
Deprecated. This method is retained for compatibility reasons. It may disappear after compatibility with old VCS "API" will not be needed.

Get the command executor for the command.

Parameters:
command - the command to get the executor for
variables - the Hashtable of (variable name, variable value) pairs
Returns:
the command executor or null when no executor is found for that command.

 

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