Login | Register
My pages Projects Community openCollabNet

Getting started with GEF v0.6 beta 1

This file prepared: 98/04/18.

  1. Install and compile GEF as described in the installation notes.
  2. Run some of the demos for yourself:
    • java uci.gef.demo.BasicApplication
    • appletviewer uci/gef/demo/SpawnedApplet.html
    • appletviewer uci/gef/demo/InBrowser.html
    • appletviewer uci/gef/demo/EquipmentApplet.html
  3. Browse the overview materials and javadocs via the GEF home page. Start with the class comments for Editor, Cmd, Mode, Fig, Layer, and Selection.
  4. If you are interested in representing your own application-specific objects as connected graphs, you must learn these classes GraphModel, DefaultGraphModel, GraphEvent, GraphListener, GraphNodeRenderer, GraphEdgeRenderer,
  5. Think about how to apply GEF to your project. What will you represent in your connected graph? How do you want to present you graph? What commands will you provide to users? How do you want the editor to "feel"?
  6. If there is basic functionality that you need and that is not in GEF, contact dev@gef.tigris.org to see if anyone is working on adding that and to discuss how it might be added.
  7. Define your own classes in your own package to extend GEF and apply it to your project. Try to subclass from GEF classes rather than modifing them.

GEF v0.6 docs | GEF home page