# eclipse-gef **Repository Path**: mirrors/eclipse-gef ## Basic Information - **Project Name**: eclipse-gef - **Description**: GEF(Graphical Editing Framework)在 Graphviz 创作(DOT编辑器、DOT图形视图)和文字云渲染环境(Tag Cloud视图)方面提供了Ecl - **Primary Language**: Java - **License**: EPL-2.0 - **Default Branch**: master - **Homepage**: https://www.oschina.net/p/gef - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2021-05-26 - **Last Updated**: 2025-12-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Eclipse Graphical Editing Framework (GEF)
The Eclipse Graphical Editing Framework (GEF) provides Eclipse-integrated end-user tools in terms of a Graphviz authoring (DOT editor, DOT Graph view) and a word cloud rendering environment (Tag Cloud view), as well as framework components (Common, Geometry, FX, MVC, Graph, Layout, Zest, DOT, and Cloudio) to create rich graphical JavaFX- and SWT-based client applications, Eclipse-integrated or standalone.
GEF participates in the annual Eclipse simultaneous release. Governance information can be found at GEF@projects.eclipse.org, 'New and Noteworthy' in our CHANGELOG.
org.eclipse.gef4, which is why these terms are still used in the 4.x (Neon) maintenance stream. In the 5.x (Oxygen) development stream, we have adopted the original project namespace to this code base, so that 'GEF' and org.eclipse.gef are now used instead, while we have started to refer to the original project components as 'GEF-Legacy', because they will only be maintained but are not developed further, providing their code base in the separate [eclipse/gef-legacy](https://github.com/eclipse/gef-legacy) repository.
## Installing the end-user tools ([users](https://www.eclipse.org/projects/dev_process/#2_3_2_Users))
You can install the DOT and Cloudio end-user tools (including the user guides) into your Eclipse installation via "Help -> Install New Software...", then pointing to one of the [GEF update-sites](https://projects.eclipse.org/projects/tools.gef/downloads)1) and selecting the *GEF DOT End-User Tools* and *GEF Cloudio End-User Tools* features. Having completed the installation, the user guides can be accessed via *Help -> Help Contents*. They can also be accessed online in the [GitHub Wiki](https://github.com/eclipse/gef/wiki#user-documentation), where they are maintained.
1) Please note that explicit end-user features (including the user guides) have only been created in the [5.x (Oxygen)](https://projects.eclipse.org/projects/tools.gef/releases/5.0.0-oxygen) development stream and are (for now) only available via the [GEF (5.x) Master CI](https://hudson.eclipse.org/gef/job/gef-master/lastSuccessfulBuild/artifact/update-site), [GEF (5.x) Integration](http://download.eclipse.org/tools/gef/updates/integration), and [GEF (5.x) Milestones](http://download.eclipse.org/tools/gef/updates/milestones) update-sites. If you want to install the end-user tools from the [4.x (Neon)](https://projects.eclipse.org/projects/tools.gef/releases/4.1.0-neon.1) maintenance stream, using the [GEF4 Maintenance CI](https://hudson.eclipse.org/gef/job/gef4-maintenance/lastSuccessfulBuild/artifact/update-site/), [GEF4 Integration](http://download.eclipse.org/tools/gef/gef4/updates/integration), [GEF4 Milestones](http://download.eclipse.org/tools/gef/gef4/updates/milestones), or [GEF4 Releases](http://download.eclipse.org/tools/gef/gef4/updates/releases) update-site, you will have to select the *GEF4 DOT*, *GEF4 DOT.UI*, and *GEF4 DOT User Guide*, as well as the *GEF4 Cloudio.UI* and *GEF4 Cloudio User Guide* features instead. To access the related user documentation online, please refer to the deployed documentation at [help.eclipse.org](http://help.eclipse.org/neon/index.jsp).
## Getting started with the framework components ([adopters](https://www.eclipse.org/projects/dev_process/#2_3_3_Adopters))
In order to develop graphical applications with GEF, you should first set up a proper development environment. The following sections shortly lay out how to set up an Eclipse IDE for this purpose. They conclude with running our deployed and undeployed examples to confirm everything is set up properly.
Having accomplished that, you might want to browse our [developer documentation](https://github.com/eclipse/gef/wiki#developer-documentation) to learn about the framework components in detail. At any time, if you get stuck, feel free to [contact us](https://projects.eclipse.org/projects/tools.gef/contact).
### Set up an Eclipse IDE (using OpenJDK 11 and OpenJFX 11)
1. Install a recent [OpenJDK](http://jdk.java.net/archive/) (e.g. 11.0.2) and a matching [OpenJFX SDK](https://gluonhq.com/products/javafx/) (e.g. 11.0.2) as a prerequisite.
2. Download a recent '[Eclipse IDE for Eclipse Committers](http://www.eclipse.org/downloads/packages)' package (e.g. 2019-09 R) and start it, pointing to an empty workspace folder.
3. Select "Help -> Install New Software...". Choose to *Work with* [https://download.eclipse.org/efxclipse/updates-nightly/site/](https://download.eclipse.org/efxclipse/updates-nightly/site/), uncheck the *Group items per category* checkbox (the feature is uncategorized), and install *e(fx)clipse - IDE - PDE*.
4. Go to *Windows -> Preferences -> Java/Installed JREs* and ensure the installed OpenJDK is listed (otherwise add it manually).
5. Go to *Windows -> Preferences -> Java/Installed JREs/Execution Environments* and make sure JavaSE-1.8 is mapped to the installed OpenJDK (the checkbox needs to be checked, otherwise e(fx)clipse will not be able to resolve the JavaFX dependencies.)
6. Go to *Windows -> Preferences -> JavaFX* and make sure the *JavaFX 11 + SDK* setting points to the lib folder of your OpenJFX SDK.
7. Make sure to close your Eclipse instance and start it again (don't use the *Restart* menu entry).
### Set up a Target Definition containing GEF (development snapshot)
1. Go to *File -> New -> Project...* and select to create a *General/Project*. Name it `gef-integration.target` or as you like, the project is to contain only a target definition.
2. Go to *File -> New -> Other...* then choose *Plug-in Development/Target Definition* and create a new empty (*Nothing: Start with an empty target definition*) target definition file named `gef-integration.target` within the newly created project.
3. Close the *Target Editor* that has automatically opened, open the target file with the *Text Editor* using the *Open With* context menu, then paste the following contents:3)
```