| java.lang.Object fr.aliacom.commands.CommandPool
CommandPool | final public class CommandPool (Code) | | Ensures that PythonCommands running on the same formcontext (reference comparison)
with the same script are the same objects.
This is necessary to be able to disable a command from the menu and the
toolbar at the same time.
author: tom author: (C) 2001, 2003 Thomas Cataldo |
getCommand | public PythonCommand getCommand(IForm f, FormContext ctx, String script)(Code) | | Returns the python command that matches a given form, a given
context and a given script.
Parameters: f - the form on which the command will apply Parameters: ctx - the context used in command execution Parameters: script - the script that is going to be executed a command. |
|
|