Open this page in the API Guide

ContextMenuCommand.notifyCommandExecuted Method