com.borland.primetime.teamdev.frontend
Interface VCSBrowserContextActionProvider


public interface VCSBrowserContextActionProvider

A ContextActionProvider returns action object to be displayed in the context menu when a user right-clicks on a node or set of nodes in the ProjectStatusBrowser.


Method Summary
 ActionGroup getContextAction(VCSCommitBrowser cBrowser, VCSFileInfo[] fInfo)
          Return an Action object (or ActionGroup) if the passed set of nodes are 'interesting'.
 

Method Detail

getContextAction

public ActionGroup getContextAction(VCSCommitBrowser cBrowser,
                                    VCSFileInfo[] fInfo)
Return an Action object (or ActionGroup) if the passed set of nodes are 'interesting'. Otherwise, return null.
Parameters:
browser - The browser where the right-click is occurring
nodes - The array of selected nodes being right-clicked on (this can be empty!)
Returns:
The associated action object (or ActionGroup) or null.