This repository contains the code base of the Eclipse Graphical Editing Framework (GEF) project's classic components:
The code base of the GEF components implemented in JavaFX is located in the eclipse/gef repository instead.
Update Sites (p2 repositories) are available at:
Other update sites are:
https://download.eclipse.org/tools/gef/classic/release/3.x.y
In order to develop graphical applications with GEF Classic, 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 to learn about the framework components in detail. At any time, if you get stuck, feel free to contact us.
gef-classic-integration.target
or as you like, the project is to contain only a target definition.gef-classic-integration.target
within the newly created project.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:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.8"?><target name="gef-integration" sequenceNumber="1">
<locations>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.sdk.ide" version="0.0.0"/>
<repository location="https://download.eclipse.org/releases/latest"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.zest.sdk.feature.group" version="0.0.0"/>
<unit id="org.eclipse.draw2d.sdk.feature.group" version="0.0.0"/>
<unit id="org.eclipse.gef.sdk.feature.group" version="0.0.0"/>
<unit id="org.eclipse.gef.examples.feature.group" version="0.0.0"/>
<repository location="http://download.eclipse.org/tools/gef/classic/latest"/>
</location>
</locations>
</target>
gef-classic-integration.target
file with the Target Editor again, using the Open With context menu, let if fully resolve, then click Set as Target Platform (link in the upper right corner of the editor).As the deployed 'Flow', 'Logic', 'Shapes', and 'WYSIWYG Document' GEF (MVC) examples are contained in the target definition, we only need to start a new Eclipse Runtime to run them:
gef-logic-example
or as you like.The undeployed Draw2d and Zest examples have to be checked out in source before. Using EGit this can easily be achieved as follows:
https://github.com/eclipse/gef-classic.git
to the URI field , press Next >.org.eclipse.draw2d.examples
and org.eclipse.zest.examples
, press Finish.org.eclipse.zest.examples.jface.GraphJFaceSnippet1
, in the Package Explorer view and select Run As -> Java Application from the context menu.The first thing you will probably want to consult is the developer documentation, which explains the different framework components in detail. It is bundled by the individual SDK features that are available for the framework components and can be accessed via Help -> Help Contents if these features are installed into the Eclipse IDE (its not sufficient to include them in a target definition for this purpose). It is further contributed to help.eclipse.org for each release, where it can be accessed online.6)
All further project information (forum, mailing list, issue tracker, update-site locations, release plans) can be retrieved from the project meta-data at projects.eclipse.org.
If you want to contribute, please consult the contributor guide.