GSShortcutCommandProtocol Protocol Reference
Conforms to | NSObject |
Declared in | GSShortcutCommandProtocol.h |
Instance Methods
validateShortcutCommand:editViewController:
This is called right before the shortcut action is performed
- (BOOL)validateShortcutCommand:(SEL)action
editViewController:(NSViewController<GSGlyphEditViewControllerProtocol>
*)editViewController
Parameters
- action
-
The action to be called
- editViewController
-
the currently active tab
Return Value
Return YES if you liked to be called at that point. Or NO if you don’t