|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.netbeans.modules.vcscore.DefaultVcsFactory
This class provides a default implementation of VcsFactory.
Field Summary | |
protected WeakReference |
fileSystem
|
Constructor Summary | |
DefaultVcsFactory(VcsFileSystem fileSystem)
Creates new DefaultVcsFactory |
Method Summary | |
SystemAction[] |
getActions(Collection fos)
Get the array of VCS actions for a collection of FileObject s. |
VcsCommandExecutor |
getCommandExecutor(VcsCommand command,
Hashtable variables)
Deprecated. This method is retained for compatibility only. XXX how to replace usages? It's called from 31 places. |
FileStatusProvider |
getFileStatusProvider()
Get the provider of the VCS status information. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected WeakReference fileSystem
Constructor Detail |
public DefaultVcsFactory(VcsFileSystem fileSystem)
Method Detail |
public FileStatusProvider getFileStatusProvider()
FileStatusProvider
or null otherwise.
getFileStatusProvider
in interface VcsFactory
public SystemAction[] getActions(Collection fos)
FileObject
s.
If the collection is null, it gets the FileObject
s from
currently selected nodes.
getActions
in interface VcsFactory
fos
- the collection of FileObject
s or null.
VcsAction
s, one for each
child of the root command node.public VcsCommandExecutor getCommandExecutor(VcsCommand command, Hashtable variables)
getCommandExecutor
in interface VcsFactory
command
- the command to get the executor forvariables
- the Hashtable
of (variable name, variable value) pairs
UserCommand
, an instance of ExecuteCommand
is returned.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |