Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Integrate GMF runtime with Mylyn task focused UI

Revision as of 02:17, 14 August 2010 by Lgylym.gmail.com (Talk | contribs)

This project is part of Google Summer of Code 2010. Source code can be found from here.

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.

UI

Things I learned

Back to the top