public class VCSContextualController extends VCSController
COMMAND_RESULT, VCSUPDATE_FROM_ACTION_PERFORMED, UPDATE_FROM_ACTIVE_VIEW_CHANGED, UPDATE_FROM_UNDO, UPDATE_FROM_USER_EXTENSION, UPDATE_FROM_VIEW_SELECTION_CHANGED| Constructor and Description | 
|---|
VCSContextualController(int cmdId, java.lang.String vcsId)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
handleEvent(IdeAction action, Context context)
This method is called when a user interaction with a  
View triggers the execution of a command. | 
protected boolean | 
isHandledAction(IdeAction action)
Is the specified action handled by this controller? 
 | 
boolean | 
update(IdeAction action, Context context)
This method updates the enabled status of the specified action within the specified context. 
 | 
createCommand, handleEventImpl, invokeCommand, isSystemActive, preInvoke, preUpdate, updateImpl
public VCSContextualController(int cmdId,
                       java.lang.String vcsId)
protected boolean isHandledAction(IdeAction action)
VCSControllerisHandledAction in class VCSControllerpublic boolean handleEvent(IdeAction action, Context context)
ControllerView triggers the execution of a command.handleEvent in interface ControllerhandleEvent in class VCSControlleraction - action whose command is to be executed.public boolean update(IdeAction action, Context context)
Controllerupdate in interface Controllerupdate in class VCSControlleraction - action whose command is to be executed.context - the current context