SDA SE Wiki

Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering

User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
teaching:labs:xp:2009a:topic_gef [2009/03/19 23:09]
diana.cerbu
teaching:labs:xp:2009a:topic_gef [2018/05/09 01:59] (current)
Line 1: Line 1:
 +====== Interactive 2D-Diagrams for Eclipse: GEF ======
  
 +Slides: [[https://​svn.iai.uni-bonn.de/​repos/​IAI_Software/​xp/​agile2009a/​Slides/​topic-gef.pdf|GEF]]\\
 +Experts: **Malkhaz Gaprindashvili,​ Diana Cerbu**\\
 +Contact: Daniel Speicher
 +
 +===== Five points to remember =====
 +  - Java plugin for creating a visual editor using MVC
 +  - GEF is build on top of Draw2D which is used as the View
 +  - EditParts are controllers and can have one or many EditPolicies which determine the edit capabilities (resize, move, delete)
 +  - GEF provides a Pallete which allows visual selection of tools
 +  - Flow of requests/​commands
 +
 +
 +
 +
 +
 +
 +
 +----
 +
 +===== Question and Answers =====
 +
 +  * **Q:** Does an GraphicalViewer work like a JFace-Viewer?​ Are the classes related through inheritance?​ Are there similar concepts?
 +
 +
 +----
 +
 +====  Websites about the Graphical Editing Framework ====
 +
 +  * [[http://​www.eclipse.org/​gef/​|Homepage of the Graphical Editing Framework ]], Part of [[http://​www.eclipse.org/​|Eclipse ]] and the [[http://​www.eclipse.org/​tools/​|Tools Project ]]
 +  * [[http://​eclipsewiki.editme.com/​GEF]]
 +
 +
 +
 +
 +====  Tutorials ====
 +
 +  * **Online-Help** \\  The quality of the online help is not bad. It has one part about Draw2D and another part for the main part of GEF. You will find a general introduction for both as well as the documentation of the APIs. 
 +  * [[http://​eclipsewiki.editme.com/​GefDescription|GefDescription ]] \\  Presents an alternative overview about the structure of GEF and about how to implement applications based on it.
 +  * **[[http://​eclipse.org/​articles/​Article-GEF-Draw2d/​GEF-Draw2d.html|Display a UML Diagram using Draw2D ]]** \\  A nice Tutorial that explains how to draw pictures of classes in the style of UML.
 +  * **[[http://​www-106.ibm.com/​developerworks/​opensource/​library/​os-gef/​|Create an Eclipse-based application using the Graphical Editing Framework ]]**,​\\ ​ //How to get started with the GEF// A bigger tutorial containing some essential tips.
 +  * [[http://​www.eclipse.org/​articles/​Article-GEF-editor/​gef-schema-editor.html|Example SchemaEditor based on GEF]] \\ 
 +  * [[http://​www.eclipse.org/​articles/​Article-GEF-diagram-editor/​shape.html|A Shape Diagram Editor ]] \\  is a nice simple example and part of the example plugin.
 +  * {{pic.eclipsecon117x19.gif}} There were talks about GEF at the [[http://​www.eclipsecon.org/​|eclipseCON]] in 2005 by Randy Hudson, Pratik Shah:
 +    * Tutorial "GEF In Depth" (local: [[http://​roots.iai.uni-bonn.de/​teaching/​praktika/​2005xppa/​downloads/​EclipseCon2005_Tutorial23.pdf|Folien ]]), und eine 
 +    * Technical Session "The Graphical Editing Framework Project" ​ (local: [[http://​roots.iai.uni-bonn.de/​teaching/​praktika/​2005xppa/​downloads/​EclipseCon2005_6.1.pdf|Folien ]])
 +
 +
 +
 +
 +
 +
 +
 +
 +====  Miscellaneous====
 +
 +  * [[http://​publib-b.boulder.ibm.com/​Redbooks.nsf/​RedbookAbstracts/​sg246302.html?​Open|Redbook "​Eclipse Development using the Graphical Editing Framework and the Eclipse Modeling Framework"​ ]], (lokal: [[http://​roots.iai.uni-bonn.de/​teaching/​praktika/​2005xppa/​downloads/​GEF and EMF.pdf|Buch]],​ [[http://​roots.iai.uni-bonn.de/​teaching/​praktika/​2005xppa/​downloads/​redbook-gef-sample.zip|Example]])
 +  * Download the SDKs and the Examples at [[http://​www.eclipse.org/​gef/​]], ​
 +  * The following code uses GEF and seems to be done nicely. Its probably an editor for product line architectures:​ [[http://​kobold.berlios.de/​xref/​kobold/​client/​view/​archeditor/​]]
 +  * [[http://​www.se.eecs.uni-kassel.de/​se/​fileadmin/​se/​courses/​ProjektArbeit-2003/​presentations-2003-11-12/​Draw2D.ppt|Nice slides]] provided by a student from Kassel.
 +
 +
 +
 +
 +
 +
 +====  Old new insights: ====
 +
 +  * 06.03.05, dsp: ScrollableThumbnail can be used for an overview window. SVF makes use of this.
 +  * 06.03.05, dsp: Decorating a BendpointConnectionRouter with a FanRouter blows overlapping Connections apart. ''​ :-) ''​
 +
 +
 +==== Links ====
 +  * http://​www.eclipse.org/​gef/​
 +  * http://​www.eclipseteam.de/​wiki/​bin/​view/​Public/​EclipseGef
 +  * http://​www.eclipsecon.org/​2008/?​page=sub/&​id=102
 +  * http://​wiki.eclipse.org/​index.php/​GEF_Developer_FAQ
 +  * http://​www.eclipse.org/​gef/​reference/​documentation.php
 +  * http://​www.eclipse.org/​articles/​Article-GEF-Draw2d/​GEF-Draw2d.html
 +  * http://​www.ibm.com/​developerworks/​opensource/​library/​os-gef/​
 +  * http://​www.eclipsecon.org/​2005/​presentations/​EclipseCon2005_23_GEF_Tutorial_Final.ppt
teaching/labs/xp/2009a/topic_gef.txt · Last modified: 2018/05/09 01:59 (external edit)

SEWiki, © 2019