Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Clear selection of part using ESelectionService
Clear selection of part using ESelectionService [message #1711018] Mon, 12 October 2015 11:33
Ali Karimi is currently offline Ali KarimiFriend
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?
Previous Topic:Eclipse Luna problem with Run Configuration
Next Topic:How to share a project programmatically?
Goto Forum:
  


Current Time: Sun Oct 06 17:08:37 GMT 2024

Powered by FUDForum. Page generated in 0.02769 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top