Gef legacy code
Switch branches/tags
v20111218-2050 v20111106-2050 v20111106-2020 v20111027-2050 v20111021-2050 v20111020-2050 v20111017-2050 v20111017-2020 v20111013-2050 v20111013-2020 v20111012-2050 v20111012-2020 v20111011-2050 v20111011-2020 v20110930-2050 v20110930-2020 v20110929-2050 v20110929-2020 v20110928-2050 v20110928-2020 v20110927-2050 v20110927-2020 v20110925-2050 v20110911-2050 v20110911-2020 v20110906-2050 v20110830-1143 v20110824-2050 v20110425-2050 v20110407-2050 v20110403-2050 v20110322-2050 v20110309-2050 v20110308-2050 v20110305-2050 v20110221-2050 v20110220-2050 v20110216-2050 v20110214-2050 v20110208-2050 v20110202-2050 v20110128-2050 v20110128-0100 v20110127-2050 v20110126-2050 v20110116-2050 v20110114-2050 v20110112-2050 v20110111-2050 v20110110-2050 v20110110-2020 v20110108-2050 v20110105-2050 v20110104-2050 v20110103-2050 v20110103-2020 v20101222-1148 v20101220-2050 v20101220-2020 v20101219-2050 v20101216-2050 v20101216-2020 v20101213-1100 v20101209-2050 v20101209-2020 v20101208-2050 v20101208-2020 v20101207-2050 v20101207-2020 v20101201-2050 v20101201-1336 v20101130-2050 v20101130-2020 v20101129-2050 v20101128-2050 v20101116-2050 v20101116-2020 v20101114-2050 v20101114-2020 v20101111-2050 v20101111-2020 v20101111-1158 v20101110-2050 v20101110-1717 v20101109-2050 v20101108-2050 v20101107-2050 v20101103-2050 v20101027-2050 v20101026-2050 v20101025-2050 v20101018-2050 v20101018-2020 v20101015-2050 v20101015-2020 v20101014-2050 v20100926-2050 v20100913-2050 v20100913-2020 v20100908-2050
Nothing to show
Clone or download
Latest commit 14563a9 Sep 18, 2017
Permalink
Failed to load latest commit information.
.changelog [NONE] Add documentation images for 3.6. Jun 9, 2017
org.eclipse.draw2d-feature [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
org.eclipse.draw2d.doc.isv [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
org.eclipse.draw2d.examples [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
org.eclipse.draw2d.sdk-feature [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
org.eclipse.draw2d.tests [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
org.eclipse.draw2d [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
org.eclipse.gef-feature [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
org.eclipse.gef.all-feature [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
org.eclipse.gef.baseline [NONE] Add 4.0.0 API baseline Jun 19, 2016
org.eclipse.gef.doc.isv [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
org.eclipse.gef.examples-feature [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
org.eclipse.gef.examples.digraph1 [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
org.eclipse.gef.examples.digraph2 [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
org.eclipse.gef.examples.flow [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
org.eclipse.gef.examples.logic [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
org.eclipse.gef.examples.shapes [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
org.eclipse.gef.examples.text [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
org.eclipse.gef.examples.ui.capabilities [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
org.eclipse.gef.examples.ui.pde [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
org.eclipse.gef.releng [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
org.eclipse.gef.repository [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
org.eclipse.gef.sdk-feature [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
org.eclipse.gef.target [NONE] Add Oxygen target. Sep 18, 2017
org.eclipse.gef.tests [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
org.eclipse.gef [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
org.eclipse.zest-feature [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
org.eclipse.zest.core [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
org.eclipse.zest.doc.isv [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
org.eclipse.zest.examples [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
org.eclipse.zest.layouts [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
org.eclipse.zest.sdk-feature [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
org.eclipse.zest.tests [NONE] Increment versions to comply to resemble service revisions. May 1, 2017
.gitignore Add .gitignore file Mar 15, 2012
CHANGELOG.md Fix images for 3.6 "New & Noteworthy" Jun 9, 2017
CONTRIBUTING.md [NONE] Remove mentioning of users, as GEF-Legacy does not provide use… Aug 13, 2016
README.md Create README.md Jun 9, 2017

README.md

Eclipse Graphical Editing Framework (GEF)

This repository contains the code base of the Eclipse Graphical Editing Framework (GEF) project's legacy components Draw2d 3.x, GEF (MVC) 3.x, and Zest 1.x, which are still maintained but will not be developed further. The code base of the current GEF production components is located in the eclipse/gef repository instead.

Getting started with the framework components (adopters)

In order to develop graphical applications with GEF-Legacy, 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.

Set up an Eclipse IDE

  1. Install a recent Java SE Development Kit 8 as a prerequisite.

  2. Download an 'Eclipse IDE for Eclipse Committers (Neon)' package and start it, pointing to an empty workspace folder.

Set up a Target Definition containing GEF-Legacy (development snapshot)

  1. Go to File -> New -> Project... and select to create a General/Project. Name it gef-legacy-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-legacy-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:

    <?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="4.6.0.I20160606-1100"/>
    <repository location="http://download.eclipse.org/releases/neon"/>
    </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/updates/legacy/integration/"/>
    </location>
    </locations>
    </target>
    
  4. Now open the gef-legacy-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).

Run the examples

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:

  1. Go to Run -> Run Configurations... then create a new Eclipse Application launch configuration and Run it.
  2. Go to File -> New -> Project... and select to create a new General/Project. Name it gef-logic-example or as you like.
  3. Go to File -> New -> Example... and select to create a new GEF (Graphical Editing Framework)/Logic Diagram, choosing the Four-bit Adder Model from the Logic Model Samples section.

The undeployed Draw2d and Zest examples have to be checked out in source before. Using EGit this can easily be achieved as follows:

  1. Go to File -> Import..., then select Git/Projects from Git, press Next >.
  2. Select Clone URI, press Next >.
  3. Paste https://github.com/eclipse/gef-legacy.git to the URI field , press Next >.
  4. Select master branch, press Next >.
  5. Confirm the local directory or change it as needed, press Next >.
  6. Ensure Import existing Eclipse projects is checked, then select Working Tree and press Next >.
  7. Select org.eclipse.draw2d.examples and org.eclipse.zest.examples, press Finish.
  8. Select an arbitrary example class, e.g. org.eclipse.zest.examples.jface.GraphJFaceSnippet1, in the Package Explorer view and select Run As -> Java Application from the context menu.

How to proceed from here?

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.