How to make SDockTab respond to shortcut keys

I register a new tab.

TSharedRef Window = SNew(SDockTab).TabRole(ETabRole::NomadTab);

Now I want to make the window respond to my shortcut.For example when I press Z,the method dosomething() will invoke.How to make SDockTab respond to shortcut keys?