T-Plan Robot Enterprise 4.0
Build No. 4.0-20140924.1

com.tplan.robot.scripting.commands
Interface ContextActionProvider


public interface ContextActionProvider

Interface for command handlers that create dynamic actions for the command pop up menu depending on the actual command syntax.


T-Plan Robot Enterprise, (C) 2009-2014 T-Plan Limited. All rights reserved.


Method Summary
 java.util.List<javax.swing.Action> getContextActions(EditorFriendlyInterpret interpret, int offset)
          Get the list of actions available for the specified offset (command line) and script.
 

Method Detail

getContextActions

java.util.List<javax.swing.Action> getContextActions(EditorFriendlyInterpret interpret,
                                                     int offset)
Get the list of actions available for the specified offset (command line) and script.

Parameters:
interpret - the test script interpret.
offset - the offset in the document where the declaring command is situated.
Returns:
list of actions available for the particular command.

T-Plan Robot Enterprise 4.0
Build No. 4.0-20140924.1