You don't need this line if the action isn't exposed at the top-level (as a toolbar button or spark menu item). The `appliesTo()` method will be called automatically before the context menu is shown.