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

CommandsTree.Provider (NetBeans VCS API) - NetBeans API Javadoc 4.1.0

 

org.netbeans.modules.vcscore.commands
Interface CommandsTree.Provider

All Known Implementing Classes:
DefaultVcsCommandsProvider
Enclosing interface:
CommandsTree

public static interface CommandsTree.Provider

Provider of CommandsTree.


Field Summary
static String PROP_COMMANDS
          The name of the property, that is fired to the listeners when the provided commands change.
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener l)
          Add a property change listener to this provider.
 CommandsTree getCommands()
          Get the commands.
 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 setExpertMode(boolean expertMode)
          Set the expert mode of this commands provider.
 

Field Detail

PROP_COMMANDS

public static final String PROP_COMMANDS
The name of the property, that is fired to the listeners when the provided commands change.

See Also:
Constant Field Values
Method Detail

getCommands

public CommandsTree getCommands()
Get the commands.

Returns:
The root of the commands tree.

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener l)
Add a property change listener to this provider. The listener is called whenever the provided commands change.


removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener l)
Remove the property change listener, that is attached to this provider.


isExpertMode

public boolean isExpertMode()
Get the expert mode of this commands provider. If it's true, all commands have the expert mode turned on by default;


setExpertMode

public void setExpertMode(boolean expertMode)
Set the expert mode of this commands provider. If it's true, all commands have the expert mode turned on by default;


 

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