final MethodBinding binding = command.getActionOpen();
command.setAction(binding);
final ActionEvent actionEvent = new ActionEvent(command);
if (command.isImmediate())
{
command.queueEventImmediate(actionEvent);
}
else
{
command.queueEventNormal(actionEvent);
}