Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 242428

Summary: [api] provide a global context API
Product: z_Archived Reporter: Jingwen 'Owen' Ou <jingweno>
Component: MylynAssignee: Project Inbox <mylyn-triaged>
Status: CLOSED MOVED QA Contact:
Severity: enhancement    
Priority: P4 CC: johan.wannheden, mauersberger, shawn.minto
Version: unspecifiedKeywords: plan
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 242423    
Attachments:
Description Flags
my version of global context API none

Description Jingwen 'Owen' Ou CLA 2008-07-29 13:22:42 EDT
A use case for this is to contribute a global context (IInteractionContext) to Mylyn's life cycle, synchronizing all the events captured by Mylyn.

But contributing one (InteractionContextManager.addGlobalContext(..)) is impossible right now. We should expose the global context API to IInteractionContextManager. 

Besides, related changes should be made to make the API usable, e.g. in AbstractUserInteractionMonitor.selectionChanged(..), it should contribute to the global context even if no task is activated, and leave this to the contributed global context to decide; The globalContext.getContentLimitedTo() in InteractionContextManager.processInteractionEvent(..) should be removed and also leave it to the contributed global context.
Comment 1 Jingwen 'Owen' Ou CLA 2008-07-29 13:50:24 EDT
Created attachment 108677 [details]
my version of global context API
Comment 2 Mik Kersten CLA 2008-08-04 18:35:25 EDT
Will explore this for 2.1, so tentatively scheduling.
Comment 3 Mik Kersten CLA 2008-08-04 21:41:13 EDT
This might not make it until 3.2.
Comment 4 Steffen Pingel CLA 2010-07-09 21:58:57 EDT
*** Bug 242423 has been marked as a duplicate of this bug. ***
Comment 5 Steffen Pingel CLA 2010-07-09 22:01:15 EDT
*** Bug 315016 has been marked as a duplicate of this bug. ***
Comment 6 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn