Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

GEF/GEF4/Graph/Examples

< GEF‎ | GEF4‎ | Graph

Examples (undeployed)

  • bundle: org.eclipse.gef4.graph.examples

The examples provided by Examples demonstrate how to use the API provided by GEF4 Graph. They are not deployed on our update-sites and have to checked out in source (org.eclipse.gef4.graph.examples) from our GEF4 Git repository. In order to have the example plug-in compile properly, all other required GEF4 bundles will either have to be installed (in a matching version) into your running eclipse platform (if this is used as target), added to a target definition (the target definitions contained in org.eclipse.gef4.target may be augmented for this purpose), or checked out in source as well. Having prepared everything as outlined before, the standalone example might easily be started by launching one of the following example classes from org.eclipse.gef4.graph.examples via the context menu ('Run As' -> 'Java Application').

GraphBuilderExample

The GraphBuilderExample demonstrates how a Graph can be constructed using the builder pattern.

Copyright © Eclipse Foundation, Inc. All Rights Reserved.