Executing feature on object select [message #1808603] |
Thu, 27 June 2019 12:40  |
Eclipse User |
|
|
|
When I switch selection from one object to another I'd like to execute a feature to show Properties View. For this I employ CustomFeature that does this and also implements hasDoneChanges() to return false so that editor does not get dirty. This works, but in such a away that I need to select object and then select again for DefaultToolBehaviorProvider.getSingleClickFeature() to fire. From user perspective this is action of two clicks: select and the click.
DefaultToolBehaviorProvider.getSelection() looks like a good place to call my single click feature, but is it the right way to do it and if it how can I generate ICustomContext to call my feature?
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03903 seconds