Clear selection of part using ESelectionService [message #1711018] |
Mon, 12 October 2015 11:33 |
Ali Karimi Messages: 36 Registered: October 2015 |
Member |
|
|
Hey,
currently i am having problems in clearing the selection of a part using the selection service?
I have multiple parts in my aaplication, but i would like to provide only a global selection. When the selects an item in PART_A, PART_B should clear its selection (if previously a selection was make in this part).
I debugged a little bit and it seems, when selecting an item in PART_A, PART_B still has a active selection e.g. the following still works
final IEclipseContext context = PART_B.getContext();
final Object object = context.get(IServiceConstants.ACTIVE_SELECTION);//object not null, why?
How to do this?
|
|
|
Powered by
FUDForum. Page generated in 0.02769 seconds