Java HTML Xtend GAP Shell CSS Prolog
Latest commit ec1c9a4 Nov 26, 2016 @miklossy miklossy [508579] Convert the DotExtractor to a top-level class.
- Move the DotExtractor class from the dot.ui plugin into the dot
plugin.
- Adapt the DotExtractor test cases.
Permalink
Failed to load latest commit information.
org.eclipse.gef.baselines [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.cloudio.doc-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.cloudio.doc.user-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.cloudio.doc.user [498439] Fix toc in plugin.xml. Aug 8, 2016
org.eclipse.gef.cloudio.doc [498439] Fix toc in plugin.xml. Aug 8, 2016
org.eclipse.gef.cloudio.examples.ui [NONE] Remove API Tools builder from undeployed examples. Aug 10, 2016
org.eclipse.gef.cloudio.sdk-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.cloudio.tests.ui [495456] Increase BREE of all bundles to JavaSE-1.8. Jul 25, 2016
org.eclipse.gef.cloudio.ui-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.cloudio.ui [495456] Increase BREE of all bundles to JavaSE-1.8. Jul 25, 2016
org.eclipse.gef.cloudio.user-feature [499468] Introduce user features for Cloudio and DOT. Aug 10, 2016
org.eclipse.gef.common-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.common.doc-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.common.doc [498439] Fix toc in plugin.xml. Aug 8, 2016
org.eclipse.gef.common.sdk-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.common.tests [NONE] Add explanatory comment. Oct 28, 2016
org.eclipse.gef.common [507264] Add callbacks to ActivatableSupport#activate() and deactivat… Nov 9, 2016
org.eclipse.gef.dot-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.dot.doc-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.dot.doc.user-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.dot.doc.user [498439] Fix toc in plugin.xml. Aug 8, 2016
org.eclipse.gef.dot.doc [NONE] Ensured DOT component follows package naming conventions. Nov 20, 2016
org.eclipse.gef.dot.examples [NONE] Simplify DotLayoutExample. Nov 30, 2016
org.eclipse.gef.dot.sdk-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.dot.tests [508579] Convert the DotExtractor to a top-level class. Dec 2, 2016
org.eclipse.gef.dot.ui-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.dot.ui [508579] Convert the DotExtractor to a top-level class. Dec 2, 2016
org.eclipse.gef.dot.user-feature [499468] Introduce user features for Cloudio and DOT. Aug 10, 2016
org.eclipse.gef.dot [508579] Convert the DotExtractor to a top-level class. Dec 2, 2016
org.eclipse.gef.fx-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.fx.compatibility.equinox-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.fx.compatibility.equinox [495456] Increase BREE of all bundles to JavaSE-1.8. Jul 25, 2016
org.eclipse.gef.fx.doc-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.fx.doc [NONE] Fix javadoc options. Oct 19, 2016
org.eclipse.gef.fx.examples.swt [499676] Backport fix for JDK-8143596 to FXCanvasEx (for JavaSE-1.8). Sep 20, 2016
org.eclipse.gef.fx.examples [500985] Unify interaction policy callback method names. Sep 12, 2016
org.eclipse.gef.fx.jface-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.fx.jface [495456] Increase BREE of all bundles to JavaSE-1.8. Jul 25, 2016
org.eclipse.gef.fx.sdk-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.fx.swt-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.fx.swt [501056] Fix scroll finish events were recognized as inertia events. Oct 4, 2016
org.eclipse.gef.fx.tests [495456] Increase BREE of all bundles to JavaSE-1.8. Jul 25, 2016
org.eclipse.gef.fx [NONE] Prevent flickering of scrollbars during zoom. Nov 16, 2016
org.eclipse.gef.geometry-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.geometry.convert.fx-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.geometry.convert.fx [495456] Increase BREE of all bundles to JavaSE-1.8. Jul 25, 2016
org.eclipse.gef.geometry.convert.swt-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.geometry.convert.swt [495456] Increase BREE of all bundles to JavaSE-1.8. Jul 25, 2016
org.eclipse.gef.geometry.doc-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.geometry.doc [498439] Fix toc in plugin.xml. Aug 8, 2016
org.eclipse.gef.geometry.examples [NONE] Remove API Tools builder from undeployed examples. Aug 10, 2016
org.eclipse.gef.geometry.sdk-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.geometry.tests.convert.fx [495456] Increase BREE of all bundles to JavaSE-1.8. Jul 25, 2016
org.eclipse.gef.geometry.tests.convert.swt [495456] Increase BREE of all bundles to JavaSE-1.8. Jul 25, 2016
org.eclipse.gef.geometry.tests [508437] Ensure IShape#toPath() properly closes path for all shapes. Nov 30, 2016
org.eclipse.gef.geometry [508437] Ensure IShape#toPath() properly closes path for all shapes. Nov 30, 2016
org.eclipse.gef.graph-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.graph.doc-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.graph.doc [498439] Fix toc in plugin.xml. Aug 8, 2016
org.eclipse.gef.graph.examples [NONE] Remove API Tools builder from undeployed examples. Aug 10, 2016
org.eclipse.gef.graph.sdk-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.graph.tests [497662] Add tests for GraphCopier input to output maps. Sep 5, 2016
org.eclipse.gef.graph [495830] Drop "local" prefix from Node methods. Sep 8, 2016
org.eclipse.gef.layout-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.layout.doc-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.layout.doc [498439] Fix toc in plugin.xml. Aug 8, 2016
org.eclipse.gef.layout.examples [496248] Ensure interfaces are used where possible. Oct 19, 2016
org.eclipse.gef.layout.sdk-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.layout.tests [495456] Increase BREE of all bundles to JavaSE-1.8. Jul 25, 2016
org.eclipse.gef.layout [495830] Drop "local" prefix from Node methods. Sep 8, 2016
org.eclipse.gef.mvc.doc-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.mvc.doc [496248] Merge MVC with MVC.FX and MVC.UI with MVC.FX.UI. Oct 19, 2016
org.eclipse.gef.mvc.examples-feature [496248] Merge MVC with MVC.FX and MVC.UI with MVC.FX.UI. Oct 19, 2016
org.eclipse.gef.mvc.examples.logo.ui [503342] Remove ContentModel. Oct 19, 2016
org.eclipse.gef.mvc.examples.logo.web.repository [496248] Merge MVC with MVC.FX and MVC.UI with MVC.FX.UI. Oct 19, 2016
org.eclipse.gef.mvc.examples.logo.web [503342] Remove ContentModel. Oct 19, 2016
org.eclipse.gef.mvc.examples.logo [NONE] Unify panning/zooming with content-restriction. Nov 15, 2016
org.eclipse.gef.mvc.examples [496248] Remove unused type parameter. Oct 21, 2016
org.eclipse.gef.mvc.fx-feature [496248] Merge MVC with MVC.FX and MVC.UI with MVC.FX.UI. Oct 19, 2016
org.eclipse.gef.mvc.fx.compatibility.equinox-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.mvc.fx.compatibility.equinox [495456] Increase BREE of all bundles to JavaSE-1.8. Jul 25, 2016
org.eclipse.gef.mvc.fx.ui-feature [496248] Merge MVC with MVC.FX and MVC.UI with MVC.FX.UI. Oct 19, 2016
org.eclipse.gef.mvc.fx.ui [NONE] Improve javadoc of the IDirtyStateProviderFactory interface. Nov 15, 2016
org.eclipse.gef.mvc.fx [NONE] Allow appending marquee selections. Nov 17, 2016
org.eclipse.gef.mvc.sdk-feature [496248] Merge MVC with MVC.FX and MVC.UI with MVC.FX.UI. Oct 19, 2016
org.eclipse.gef.mvc.tests.fx.ui [NONE] Add missing cast (in case of Luna compatibility). Nov 16, 2016
org.eclipse.gef.mvc.tests.fx [776235e] Implement missing method in test. Oct 31, 2016
org.eclipse.gef.releng [496248] Merge MVC with MVC.FX and MVC.UI with MVC.FX.UI. Oct 19, 2016
org.eclipse.gef.repository [496248] Merge MVC with MVC.FX and MVC.UI with MVC.FX.UI. Oct 19, 2016
org.eclipse.gef.target [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.zest.doc-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.zest.doc [496248] Merge MVC with MVC.FX and MVC.UI with MVC.FX.UI. Oct 19, 2016
org.eclipse.gef.zest.examples-feature [496248] Merge MVC with MVC.FX and MVC.UI with MVC.FX.UI. Oct 19, 2016
org.eclipse.gef.zest.examples.graph.ui [496248] Merge MVC with MVC.FX and MVC.UI with MVC.FX.UI. Oct 19, 2016
org.eclipse.gef.zest.examples.graph [496248] Merge MVC with MVC.FX and MVC.UI with MVC.FX.UI. Oct 19, 2016
org.eclipse.gef.zest.examples.jface [NONE] Remove behavior argument from creation methods of part factories. Oct 30, 2016
org.eclipse.gef.zest.examples [NONE] Remove behavior argument from creation methods of part factories. Oct 30, 2016
org.eclipse.gef.zest.fx-feature [496248] Merge MVC with MVC.FX and MVC.UI with MVC.FX.UI. Oct 19, 2016
org.eclipse.gef.zest.fx.compatibility.equinox-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.zest.fx.compatibility.equinox [495456] Increase BREE of all bundles to JavaSE-1.8. Jul 25, 2016
org.eclipse.gef.zest.fx.jface-feature [496248] Merge MVC with MVC.FX and MVC.UI with MVC.FX.UI. Oct 19, 2016
org.eclipse.gef.zest.fx.jface [503342] Remove ContentModel. Oct 19, 2016
org.eclipse.gef.zest.fx.ui-feature [496248] Merge MVC with MVC.FX and MVC.UI with MVC.FX.UI. Oct 19, 2016
org.eclipse.gef.zest.fx.ui [503342] Remove ContentModel. Oct 19, 2016
org.eclipse.gef.zest.fx [NONE] Unify panning/zooming with content-restriction. Nov 15, 2016
org.eclipse.gef.zest.sdk-feature [498421] Adopt GEF4 components to original org.eclipse.gef namespace. Jul 25, 2016
org.eclipse.gef.zest.tests.fx.jface [503342] Remove ContentModel. Oct 19, 2016
org.eclipse.gef.zest.tests.fx [504480] Remove ITransformableVisualPart. Oct 20, 2016
.gitignore [NONE] Adjusted global .gitignore. Oct 1, 2015
.travis.yml [498421] Adopt Travis build configuration to renaming. Jul 25, 2016
CONTRIBUTING.md [NONE] Change wording to clarify that multiple target definitions are… Aug 16, 2016
README.md Update README.md Oct 26, 2016
gef_eclipse_logo_360.png [NONE] Create README.md file. Jul 15, 2016

README.md

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. Having recently published 4.1.0 (Neon.1), we are currently working on the 5.0.0 (Oxygen) release.

The current code base has been developed in parallel to that of the original Draw2d 3.x, GEF (MVC) 3.x, and Zest 1.x project components, which have been provided since 2004. Up to its graduation with the 4.0.0 (Neon) release in 2016, this code base had been referred to as 'GEF4' respectively org.eclipse.gef4, which is why these terms are still used in the 4.x (Neon) maintenance stream. In the current 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 repository.

Installing the end-user tools (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-sites1) 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, where they are maintained.

1) Please note that explicit end-user features (including the user guides) have only been created in the current 5.x (Oxygen) development stream and are for now only available via the GEF (5.x) Master CI, GEF (5.x) Integration, and GEF (5.x) Milestones update-sites. If you want to install the end-user tools from the 4.x (Neon) maintenance stream, using the GEF4 Maintenance CI, GEF4 Integration, GEF4 Milestones, or GEF4 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 GEF4 wiki in this case.

Getting started with the framework components (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 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.

  3. Select "Help -> Install New Software...". Choose to Work with http://download.eclipse.org/releases/neon, 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 Java SE Development Kit 8 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 Java SE Development Kit 8 (the checkbox needs to be checked, otherwise e(fx)clipse will not be able to resolve the JavaFX dependencies).2)

2) If your code should still be compatible to J2SE-1.7, you will have to install a Java SE Development Kit 7 instead, performing analogeous steps for this SDK and the J2SE-1.7 execution environment. Be aware that this is only feasible when developing against the 4.x (Neon) maintenance stream, as support for J2SE-1.7 has been dropped in the current 5.x (Oxygen) development stream.

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)

    <?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.xtext.sdk.feature.group" version="2.10.0.v201605250459"/>
        <unit id="org.eclipse.emf.sdk.feature.group" version="2.12.0.v20160526-0356"/>
        <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.gef.common.sdk.feature.group" version="0.0.0"/>
        <unit id="org.eclipse.gef.geometry.sdk.feature.group" version="0.0.0"/>
        <unit id="org.eclipse.gef.fx.sdk.feature.group" version="0.0.0"/>
        <unit id="org.eclipse.gef.mvc.sdk.feature.group" version="0.0.0"/>
        <unit id="org.eclipse.gef.mvc.examples.source.feature.group" version="0.0.0"/>
        <unit id="org.eclipse.gef.layout.sdk.feature.group" version="0.0.0"/>
        <unit id="org.eclipse.gef.graph.sdk.feature.group" version="0.0.0"/>
        <unit id="org.eclipse.gef.zest.sdk.feature.group" version="0.0.0"/>
        <unit id="org.eclipse.gef.zest.examples.source.feature.group" version="0.0.0"/>
        <unit id="org.eclipse.gef.dot.sdk.feature.group" version="0.0.0"/>
        <unit id="org.eclipse.gef.cloudio.sdk.feature.group" version="0.0.0"/>
        <repository location="http://download.eclipse.org/tools/gef/updates/integration"/>
      </location>
    </locations>
    </target>
    
  4. Now open the gef-integration.target file with the Target Editor again, using the Open With context menu, let it fully resolve, then click Set as Target Platform (link in the upper right corner of the editor).

3) If you want to develop against the 4.x (Neon) maintenance stream, you will have to use the GEF4 Integration update-site instead, and the unit ids have to be prefixed with org.eclipse.gef4 instead of org.eclipse.gef.

Run the examples

As the deployed MVC Logo and Zest Graph examples are contained in the target definition, you 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.
  2. On the Main tab, make sure the Execution environment points to JavaSE-1.8.
  3. On the Arguments tab, add -Dosgi.framework.extensions=org.eclipse.fx.osgi to VM arguments:, so that all JavaFX dependencies can be resolved wihtin the OSGi environment.
  4. Click Run.
  5. Open the example views via Window -> Show View -> Other..., then selecting Other/GEF MVC Logo Example or Other/GEF Zest Graph Example.

The undeployed Geometry, FX, FX.SWT, Graph, Layout, Zest.FX, Zest.FX.JFace, DOT, and Cloudio.UI 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.git to the URI field , press Next >.
  4. Select master branch, press Next >.4)
  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.gef.cloudio.examples.ui, org.eclipse.gef.dot.examples, org.eclipse.gef.fx.examples, org.eclipse.gef.fx.examples.swt, org.eclipse.gef.geometry.examples, org.eclipse.gef.graph.examples, org.eclipse.gef.layout.examples, org.eclipse.gef.zest.examples, and org.eclipse.gef.zest.examples.jface, press Finish.
  8. Select an arbitrary example class, e.g. org.eclipse.gef.fx.examples.ConnectionSnippet, in the Package Explorer view and select Run As -> Java Application from the context menu.5)

4) If you want to develop against the 4.x (Neon) maintenance stream, you will have to select the R4_0_maintenance branch instead, and all project names are still prefixed with org.eclipse.gef4 instead of org.eclipse.gef.

5) On MacOS, you will have to ensure that the Use the -XstartOnFirstThread argument when launching with SWT option is unchecked on the Arguments tab of the launch configuration, which was implicitly created, as pure JavaFX examples will otherwise not startup correctly. When starting examples that are based on the JavaFX-SWT-integration on the other hand (like e.g. org.eclipse.gef.fx.examples.swt.ButtonFXControlAdapterSnippet), the Use the -XstartOnFirstThread argument when launching with SWT option has to be enabled.

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 (it is 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, and can further be accessed online in the GitHub Wiki, where it is maintained.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.

6) The developer documentation for the 4.x (Neon) maintenance stream is still maintained online in the GEF4 Wiki. It will be removed there (so only the deployed versions at help.eclipse.org will still be available online) after the final 4.1.0 (Neon.1) release of this stream has been published.