Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Integrate GMF runtime with Mylyn task focused UI"
m (→Implementation Details) |
m |
||
Line 16: | Line 16: | ||
=== Mylyn Bridge === | === Mylyn Bridge === | ||
− | === Context Listener === | + | === Context Listener === |
− | Context Listener listens to the changes of the current context and do actions according to it. [[blog.lgylym.info/2010/06/say-hi-and-first-post-of-gsoc-mylyn.html|This blog post]] I wrote includes an example of implementing a mylyn context listener and showing the context by zest framework. | + | Context Listener listens to the changes of the current context and do actions according to it. [[http://blog.lgylym.info/2010/06/say-hi-and-first-post-of-gsoc-mylyn.html|This blog post]] I wrote includes an example of implementing a mylyn context listener and showing the context by zest framework. |
== UI == | == UI == | ||
== Things I learned == | == Things I learned == |
Revision as of 02:17, 14 August 2010
This project is part of Google Summer of Code 2010. Source code can be found from here.
Contents
Abstract
Mylyn is a task management framework. By using it, the workspace can have different "snapshots" for different tasks. When one task is selected, only the related objects (files, opened windows, etc.) are shown in the workspace. That is so called "task focused UI". On the other hand, the GMF runtime provides a common graphical notation model for every Eclipse Modeler. By combining the two techniques together, a mylyn bridge can be developed, showing the graphical elements in editor depending on the relevance of the current task. This project can also be an example to show how to integrate GMF techniques to a real project.
Main Structure
The generated GMF editor used in this project is EcoreTools Editor. The development procedure is divided into two parts:
- A mylyn bridge that fits for the generated GMF editor
- A context listener that listens to the context and changes the representation of the diagrams in the editor
Implementation Details
Mylyn Bridge
Context Listener
Context Listener listens to the changes of the current context and do actions according to it. [blog post] I wrote includes an example of implementing a mylyn context listener and showing the context by zest framework.