is there an easy ways to hide context menu entries, that are not applicable for the selected item?
By default they are automatically grayed out, but hidings them completely would clean up the context menu quite a bit.
Michael Wenz Messages: 1592 Registered: July 2009 Location: Walldorf, Germany
this should be possible by returning false on isAvailable of the feature for
this context menu entry. Another option would be not to add the feature to
the list of relevant features in the method getContextMenu() of your tool