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

Difference between revisions of "GEF/GEF4/Layout/Examples"

< GEF‎ | GEF4‎ | Layout
Line 9: Line 9:
 
* '''class [http://git.eclipse.org/c/gef/org.eclipse.gef4.git/tree/org.eclipse.gef4.layout.examples/src/org/eclipse/gef4/layout/examples/CustomLayoutExample.java org.eclipse.gef4.layout.examples.CustomLayoutExample]'''
 
* '''class [http://git.eclipse.org/c/gef/org.eclipse.gef4.git/tree/org.eclipse.gef4.layout.examples/src/org/eclipse/gef4/layout/examples/CustomLayoutExample.java org.eclipse.gef4.layout.examples.CustomLayoutExample]'''
  
[[File:GEF4-Layout-Examples-CustomLayoutExample|400px]]
+
[[File:GEF4-Layout-Examples-CustomLayoutExample.png|400px]]
  
 
==== CustomNodeLayoutExample ====
 
==== CustomNodeLayoutExample ====
Line 15: Line 15:
 
* '''class [http://git.eclipse.org/c/gef/org.eclipse.gef4.git/tree/org.eclipse.gef4.layout.examples/src/org/eclipse/gef4/layout/examples/CustomNodeLayoutExample.java org.eclipse.gef4.layout.examples.CustomNodeLayoutExample]'''
 
* '''class [http://git.eclipse.org/c/gef/org.eclipse.gef4.git/tree/org.eclipse.gef4.layout.examples/src/org/eclipse/gef4/layout/examples/CustomNodeLayoutExample.java org.eclipse.gef4.layout.examples.CustomNodeLayoutExample]'''
  
[[File:GEF4-Layout-Examples-CustomNodeLayoutExample|400px]]
+
[[File:GEF4-Layout-Examples-CustomNodeLayoutExample.png|400px]]
  
 
==== FilterLayoutExample ====
 
==== FilterLayoutExample ====
Line 21: Line 21:
 
* '''class [http://git.eclipse.org/c/gef/org.eclipse.gef4.git/tree/org.eclipse.gef4.layout.examples/src/org/eclipse/gef4/layout/examples/FilterLayoutExample.java org.eclipse.gef4.layout.examples.FilterLayoutExample]'''
 
* '''class [http://git.eclipse.org/c/gef/org.eclipse.gef4.git/tree/org.eclipse.gef4.layout.examples/src/org/eclipse/gef4/layout/examples/FilterLayoutExample.java org.eclipse.gef4.layout.examples.FilterLayoutExample]'''
  
[[File:GEF4-Layout-Examples-FilterLayoutExample|400px]]
+
[[File:GEF4-Layout-Examples-FilterLayoutExample.png|400px]]
  
 
==== FisheyeLayoutExample ====
 
==== FisheyeLayoutExample ====
Line 27: Line 27:
 
* '''class [http://git.eclipse.org/c/gef/org.eclipse.gef4.git/tree/org.eclipse.gef4.layout.examples/src/org/eclipse/gef4/layout/examples/FisheyeLayoutExample.java org.eclipse.gef4.layout.examples.FisheyeLayoutExample]'''
 
* '''class [http://git.eclipse.org/c/gef/org.eclipse.gef4.git/tree/org.eclipse.gef4.layout.examples/src/org/eclipse/gef4/layout/examples/FisheyeLayoutExample.java org.eclipse.gef4.layout.examples.FisheyeLayoutExample]'''
  
[[File:GEF4-Layout-Examples-FisheyeLayoutExample|400px]]
+
[[File:GEF4-Layout-Examples-FisheyeLayoutExample.png|400px]]
  
 
==== FullyMeshedLayoutExample ====
 
==== FullyMeshedLayoutExample ====
Line 33: Line 33:
 
* '''class [http://git.eclipse.org/c/gef/org.eclipse.gef4.git/tree/org.eclipse.gef4.layout.examples/src/org/eclipse/gef4/layout/examples/FullyMeshedLayoutExample.java org.eclipse.gef4.layout.examples.FullyMeshedLayoutExample]'''
 
* '''class [http://git.eclipse.org/c/gef/org.eclipse.gef4.git/tree/org.eclipse.gef4.layout.examples/src/org/eclipse/gef4/layout/examples/FullyMeshedLayoutExample.java org.eclipse.gef4.layout.examples.FullyMeshedLayoutExample]'''
  
[[File:GEF4-Layout-Examples-FullyMeshedLayoutExample|400px]]
+
[[File:GEF4-Layout-Examples-FullyMeshedLayoutExample.png|400px]]
  
 
==== RadialLayoutExample ====
 
==== RadialLayoutExample ====
Line 39: Line 39:
 
* '''class [http://git.eclipse.org/c/gef/org.eclipse.gef4.git/tree/org.eclipse.gef4.layout.examples/src/org/eclipse/gef4/layout/examples/RadialLayoutExample.java org.eclipse.gef4.layout.examples.RadialLayoutExample]'''
 
* '''class [http://git.eclipse.org/c/gef/org.eclipse.gef4.git/tree/org.eclipse.gef4.layout.examples/src/org/eclipse/gef4/layout/examples/RadialLayoutExample.java org.eclipse.gef4.layout.examples.RadialLayoutExample]'''
  
[[File:GEF4-Layout-Examples-RadialLayoutExample|400px]]
+
[[File:GEF4-Layout-Examples-RadialLayoutExample.png|400px]]
  
 
==== SimpleLayoutExample ====
 
==== SimpleLayoutExample ====
Line 45: Line 45:
 
* '''class [http://git.eclipse.org/c/gef/org.eclipse.gef4.git/tree/org.eclipse.gef4.layout.examples/src/org/eclipse/gef4/layout/examples/SimpleLayoutExample.java org.eclipse.gef4.layout.examples.SimpleLayoutExample]'''
 
* '''class [http://git.eclipse.org/c/gef/org.eclipse.gef4.git/tree/org.eclipse.gef4.layout.examples/src/org/eclipse/gef4/layout/examples/SimpleLayoutExample.java org.eclipse.gef4.layout.examples.SimpleLayoutExample]'''
  
[[File:GEF4-Layout-Examples-SimpleLayoutExample|400px]]
+
[[File:GEF4-Layout-Examples-SimpleLayoutExample.png|400px]]
  
 
==== SpringLayoutExample ====
 
==== SpringLayoutExample ====
Line 51: Line 51:
 
* '''class [http://git.eclipse.org/c/gef/org.eclipse.gef4.git/tree/org.eclipse.gef4.layout.examples/src/org/eclipse/gef4/layout/examples/SpringLayoutExample.java org.eclipse.gef4.layout.examples.SpringLayoutExample]'''
 
* '''class [http://git.eclipse.org/c/gef/org.eclipse.gef4.git/tree/org.eclipse.gef4.layout.examples/src/org/eclipse/gef4/layout/examples/SpringLayoutExample.java org.eclipse.gef4.layout.examples.SpringLayoutExample]'''
  
[[File:GEF4-Layout-Examples-SpringLayoutExample|400px]]
+
[[File:GEF4-Layout-Examples-SpringLayoutExample.png|400px]]
  
 
==== SpringLayoutProgressExample ====
 
==== SpringLayoutProgressExample ====
Line 57: Line 57:
 
* '''class [http://git.eclipse.org/c/gef/org.eclipse.gef4.git/tree/org.eclipse.gef4.layout.examples/src/org/eclipse/gef4/layout/examples/SpringLayoutProgressExample.java org.eclipse.gef4.layout.examples.SpringLayoutProgressExample]'''
 
* '''class [http://git.eclipse.org/c/gef/org.eclipse.gef4.git/tree/org.eclipse.gef4.layout.examples/src/org/eclipse/gef4/layout/examples/SpringLayoutProgressExample.java org.eclipse.gef4.layout.examples.SpringLayoutProgressExample]'''
  
[[File:GEF4-Layout-Examples-SpringLayoutProgressExample|400px]]
+
[[File:GEF4-Layout-Examples-SpringLayoutProgressExample.png|400px]]
  
 
==== SugiyamaLayoutExample ====
 
==== SugiyamaLayoutExample ====
Line 63: Line 63:
 
* '''class [http://git.eclipse.org/c/gef/org.eclipse.gef4.git/tree/org.eclipse.gef4.layout.examples/src/org/eclipse/gef4/layout/examples/SugiyamaLayoutExample.java org.eclipse.gef4.layout.examples.SugiyamaLayoutExample]'''
 
* '''class [http://git.eclipse.org/c/gef/org.eclipse.gef4.git/tree/org.eclipse.gef4.layout.examples/src/org/eclipse/gef4/layout/examples/SugiyamaLayoutExample.java org.eclipse.gef4.layout.examples.SugiyamaLayoutExample]'''
  
[[File:GEF4-Layout-Examples-SugiyamaLayoutExample|400px]]
+
[[File:GEF4-Layout-Examples-SugiyamaLayoutExample.png|400px]]

Revision as of 09:52, 3 June 2015

Examples (undeployed)

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

The examples provided by Examples demonstrate how to use the API provided by GEF4 Layout. They are not deployed on our update-sites and have to checked out in source (org.eclipse.gef4.layout.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. You will also have to install e(fx)clipse in your running eclipse instance and target platform (see GEF Project Contributor Guide for details on how to obtain the sources and setup your workspace). 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.layout.examples via the context menu ('Run As' -> 'Java Application').

CustomLayoutExample

GEF4-Layout-Examples-CustomLayoutExample.png

CustomNodeLayoutExample

GEF4-Layout-Examples-CustomNodeLayoutExample.png

FilterLayoutExample

GEF4-Layout-Examples-FilterLayoutExample.png

FisheyeLayoutExample

GEF4-Layout-Examples-FisheyeLayoutExample.png

FullyMeshedLayoutExample

GEF4-Layout-Examples-FullyMeshedLayoutExample.png

RadialLayoutExample

GEF4-Layout-Examples-RadialLayoutExample.png

SimpleLayoutExample

GEF4-Layout-Examples-SimpleLayoutExample.png

SpringLayoutExample

GEF4-Layout-Examples-SpringLayoutExample.png

SpringLayoutProgressExample

GEF4-Layout-Examples-SpringLayoutProgressExample.png

SugiyamaLayoutExample

GEF4-Layout-Examples-SugiyamaLayoutExample.png

Copyright © Eclipse Foundation, Inc. All Rights Reserved.