| [news.eclipse.platform.ua] Re: Enabling commands for particular file types only |
Great! Thanks for the link, it works!
And thank you Chris for forwarding the message.
Cheers Patrick
Chris Goldthorpe wrote:the activeWhen clause of the handler, however, I cannot figure out how to restrict the handler to particular file types only.
Use the contentTypeId property tester (http://wiki.eclipse.org/Command_Core_Expressions)
- Prakash
Platform UI Team, IBM http://blog.eclipse-tips.com