Community
Participate
Working Groups
Mylyn makes it possible to copy a context from one task to another. It would be useful for third party code to be able to hook into this action. For example, "context-driven domain diagrams":http://greensopinion.blogspot.com/2008/12/mylyn-context-driven-domain-diagram.html are data that is stored in a users workspace metadata associated with a specific task. It would be great if the diagram data could be associated with the target Mylyn task as part of the copy context action. Such a hook could allow for non-interactive hooks and interactive hooks that involve the UI. Simple usage may not require interaction with the user, however in some cases it may be necessary. In this example the hook would by default copy the diagram data with the context, however if the target task already has diagram data then the hook would prompt the user asking if it's okay to overwrite the existing diagram.
Created attachment 124828 [details] mylyn/context/zip
Created attachment 124833 [details] candidate API Attached an example of API that would fulfill the requirements. The implementation is not complete, looking for feedback.
Created attachment 124834 [details] mylyn/context/zip
The changes proposed on bug 226618 are related.
Instead of asking the user a series of questions as part of cloning a task it would be nice if participants could contribute UI to the clone dialog to make all choices as part of selecting a task. We could also look at the other events in the context store and consider adding additional events to the extension point. To ensure compatibility with standalone application we probably also need a Java API to register listeners in addition to the extension point which is required to trigger class loading.
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