Community
Participate
Working Groups
while it is currently possible to know if something is interesting given an IInteractionContext, the current APIs make the code inefficient. A new method on IInteractionContext would make the query easy and fast. Suggested API change on @IInteractionContext@: bc. /** * indicate if the interaction element identified by the given handle is interesting * * @param elementHandle * the {@link IInteractionElement#getHandleIdentifier() handle identifier} * * @return true if an {@link #getInteresting() interesting} interaction element exists with the given handle */ public boolean isInteresting(String elementHandle);
Created attachment 119834 [details] a patch implementing the new API
Steffen, any chance you could look at this?
I'll bug Mik about it.
This will need further discussion, bumping milestone to next release.
This patch is relatively trivial. It would be nice to have it included in 3.1 if possible.
David, this patch doesn't apply cleanly anymore, could you re-cut it against HEAD?
Created attachment 134342 [details] updated patch patch updated against head.
Created attachment 134343 [details] mylyn/context/zip
Thanks for redoing the patch. This change looks good and I have merged it with the changes that were made yesterday to InteractionContext and have added a very basic test to ensure that this works as expected. I have committed this patch.
marking as resolved.