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

ChainingCommand (NetBeans VCS API) - NetBeans API Javadoc 4.1.0

 

org.netbeans.modules.vcscore.commands
Interface ChainingCommand

All Superinterfaces:
Command
All Known Subinterfaces:
VcsDescribedCommand

public interface ChainingCommand
extends Command

A command, that permits chaining of several command. This is used e.g. when customizing a command with extra data for each file or when the corresponding task can run only on one file at a time.


Method Summary
 Command getNextCommand()
          Get the next command, that should be procesed after this one.
 void setNextCommand(Command cmd)
          Set the next command, that should be procesed after this one.
 
Methods inherited from interface org.netbeans.api.vcs.commands.Command
execute, getApplicableFiles, getDisplayName, getFiles, getName, isExpertMode, isGUIMode, setExpertMode, setFiles, setGUIMode
 

Method Detail

getNextCommand

public Command getNextCommand()
Get the next command, that should be procesed after this one.

Returns:
The next command to be processed.

setNextCommand

public void setNextCommand(Command cmd)
Set the next command, that should be procesed after this one.

Parameters:
cmd - The next command to be processed.

 

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