Implementing the IEdmAddIn::OnCmd Method