Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329920 - [context] items should be automatically deleted from the context based on a threshold
Summary: [context] items should be automatically deleted from the context based on a t...
Status: CLOSED MOVED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Mylyn Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-10 11:25 EST by Raffi Khatchadourian CLA
Modified: 2014-12-26 22:34 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raffi Khatchadourian CLA 2010-11-10 11:25:51 EST
Build Identifier: 20100917-0705

When an elements' interestingness increases, it's not automatically in full force to the context. That is, it first starts off grayed, then full color, then bold, and finally a landmark. Decreasing an elements interestingness should work in the reverse way. That is, there should be levels of decreasing interested before it is ultimately removed from the context. Right now, by using the method org.eclipse.mylyn.internal.context.core.InteractionContextManager.manipulateInterestForElementHelper(IInteractionElement, boolean, boolean, boolean, String, IInteractionContext, Set<IInteractionElement>, AbstractContextStructureBridge, boolean) and setting the increase parameter to false (i.e., decrease interestingness), the element is removed from the context on the first shot.

Reproducible: Always

Steps to Reproduce:
1. Call org.eclipse.mylyn.internal.context.core.InteractionContextManager.manipulateInterestForElementHelper(IInteractionElement, boolean, boolean, boolean, String, IInteractionContext, Set<IInteractionElement>, AbstractContextStructureBridge, boolean) and set the increase parameter to false.
2. Element is immediately removed from the context.
Comment 1 Steffen Pingel CLA 2011-04-05 15:28:41 EDT
Thanks for the request. This makes sense to me. As far as I understand, you are asking for an API level enhancement to the framework and not a UI affordance?
Comment 2 Raffi Khatchadourian CLA 2014-12-26 22:34:23 EST
Right, it would be an API-level enhancement, though, I don't think the API should change, just the internals.

(In reply to Steffen Pingel from comment #1)
> Thanks for the request. This makes sense to me. As far as I understand, you
> are asking for an API level enhancement to the framework and not a UI
> affordance?
Comment 3 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