|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.netbeans.spi.vcs.VcsCommandsProvider
org.netbeans.modules.vcscore.DefaultVcsCommandsProvider
The default implementation of VcsCommandsProvider based on commands provided by CommandsTree.
| Field Summary |
| Fields inherited from interface org.netbeans.modules.vcscore.commands.CommandsTree.Provider |
PROP_COMMANDS |
| Constructor Summary | |
DefaultVcsCommandsProvider(CommandsTree commands)
Creates a new instance of DefaultVcsCommandsProvider |
|
| Method Summary | |
void |
addPropertyChangeListener(PropertyChangeListener l)
Add a property change listener to this provider. |
Command |
createCommand(Class cmdClass)
Create a new VCS command of the given class type. |
Command |
createCommand(String cmdName)
Create a new VCS command of the given name. |
String[] |
getCommandNames()
Get the list of VCS command names. |
CommandsTree |
getCommands()
Get the commands. |
String |
getType()
Get the unique representation of the type of the provided version control system. |
boolean |
isExpertMode()
Get the expert mode of this commands provider. |
void |
removePropertyChangeListener(PropertyChangeListener l)
Remove the property change listener, that is attached to this provider. |
void |
setCommands(CommandsTree commands)
|
void |
setExpertMode(boolean expertMode)
Set the expert mode of this commands provider. |
void |
setType(String type)
|
| Methods inherited from class org.netbeans.spi.vcs.VcsCommandsProvider |
findProvider |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultVcsCommandsProvider(CommandsTree commands)
| Method Detail |
public void setExpertMode(boolean expertMode)
setExpertMode in interface CommandsTree.Providerpublic boolean isExpertMode()
isExpertMode in interface CommandsTree.Providerpublic Command createCommand(Class cmdClass)
createCommand in class VcsCommandsProvidernull when the command of the given
class type does not exist.public Command createCommand(String cmdName)
createCommand in class VcsCommandsProvidernull when the command of the given
name does not exist.public String[] getCommandNames()
getCommandNames in class VcsCommandsProviderpublic CommandsTree getCommands()
CommandsTree.Provider
getCommands in interface CommandsTree.Providerpublic void setCommands(CommandsTree commands)
public void setType(String type)
public String getType()
VcsCommandsProvider
getType in class VcsCommandsProviderpublic void addPropertyChangeListener(PropertyChangeListener l)
addPropertyChangeListener in interface CommandsTree.Providerpublic void removePropertyChangeListener(PropertyChangeListener l)
removePropertyChangeListener in interface CommandsTree.Provider
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||