Skip to main content
Jump to: navigation, search

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

< GEF‎ | GEF4‎ | Zest
m (Graph Example (UI-integration))
(JFace-API Examples (undeployed))
Line 23: Line 23:
  
 
*'''bundle: org.eclipse.gef4.zest.examples.ui'''
 
*'''bundle: org.eclipse.gef4.zest.examples.ui'''
 +
 +
The [[#JFace-API Examples (undeployed)|Examples.UI]] bundle provides a couple of example applications that demonstrate how to use the JFace-API provided by [[GEF/GEF4/Zest#FX.UI|GEF4 Zest.FX.UI]]. Having checked out the sources and set-up the workspace according to the GEF contributor guide, it can simply be executed via 'Run As -> Java Application' from the context menu.
 +
 +
#[http://git.eclipse.org/c/gef/org.eclipse.gef4.git/tree/org.eclipse.gef4.zest.examples.ui/src/org/eclipse/gef4/zest/examples/ui/JFaceColorsExample.java JFaceColorsExample.java]
  
 
[[Category:GEF]]
 
[[Category:GEF]]

Revision as of 07:27, 3 June 2015

Graph Example (Standalone, Eclipse UI)

The Graph Example is provided as a standalone JavaFX application as well as an Eclipse UI integration.

Graph Example (Standalone)

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

GEF4 Zest stand-alone Graph example

Graph Example (UI-integration)

  • feature: org.eclipse.gef4.zest.examples
  • bundle: org.eclipse.gef4.zest.examples
  • bundle: org.eclipse.gef4.zest.examples.graph
  • bundle: org.eclipse.gef4.zest.examples.graph.ui

GEF4 Zest in Eclipse

The Eclipse UI-integrated version can simply be installed from our update-sites. It can then easily be accessed in your runtime eclipse application via the Window->Show View->Other... menu, where it is located in the Other category. Note that, if you are running on Linux with GTK3, you have to force SWT to use the GTK2 API by setting the environment variable SWT_GTK3 to 0, because of a JavaFX/SWT integration bug (Bugzilla #469126).

JFace-API Examples (undeployed)

  • bundle: org.eclipse.gef4.zest.examples.ui

The Examples.UI bundle provides a couple of example applications that demonstrate how to use the JFace-API provided by GEF4 Zest.FX.UI. Having checked out the sources and set-up the workspace according to the GEF contributor guide, it can simply be executed via 'Run As -> Java Application' from the context menu.

  1. JFaceColorsExample.java

Copyright © Eclipse Foundation, Inc. All Rights Reserved.