Creating an EMF and GEF based OPM Editor: the tutorial shows, step by step, how to create a graphical editor based on the Eclipse Modeling Framework (EMF) and the Graphical Modeling Framework (GEF).
- Creating a GEF editor – Part 1: Defining the Model
- Creating a GEF Editor – Part 2: EMF Code Generation
- Creating a GEF Editor – Part 3: Basic GEF Editor
- Creating a GEF Editor – Part 4: Showing the Model on the Editor
- Creating a GEF Editor – Part 5: Loading the Model from an EMF File
- Creating a GEF Editor – Part 6: Model Refactoring and Editing Diagram Entities
- Creating a GEF Editor – Part 7: Moving Elements and Direct Editing
- Creating a GEF Editor – Part 8: Delete, Undo and Redo
- Creating a GEF Editor – Part 9: Connections
- Creating a GEF Editor – Part 10: Deleting Connections and Fixing of Thing Delete Command
- Creating a GEF Editor – Part 11: Creating Link Bendpoints
- Creating a GEF Editor – Part 12: Enable Save Action on the Editor
- Creating an OPM GEF Editor – Part 13: Adding Procedural Links
- Creating an OPM GEF Editor – Part 14: Refactoring, Refactoring and More Refactoring
- Creating an OPM GEF Editor – Part 15: Adding Structural Link
- Creating an OPM GEF Editor – Part 16: Displaying EMF Properties in a GEF Editor
- Creating an OPM GEF Editor – Part 17: How to Define Container Edit Parts
- Creating an OPM GEF Editor – Part 18: Snapping to Grid and to Geometry
- Creating an OPM GEF Editor – Part 19: Displaying Tooltips
- Creating an OPM GEF Editor – Part 20: Creating a Context Menu and Adding Custom Actions
- Creating an OPM GEF Editor – Part 21: Adding Keyboard Shortcuts
- Creating an OPM GEF Editor – Part 22: Enabling Select-All Action in a GEF Editor
- Creating an OPM GEF Editor – Part 23: Drag & Drop from the Palette
- Creating an OPM GEF Editor – Part 24: Showing Feedback to the User
- Creating an OPM GEF Editor – Part 25: “Smart” Multi-line Text Figure
Some investigative work on how GEF works:
- GEF Internals Part 1 – Mouse Interaction and the Selection Tool
- GEF Internals Part 2 – Mouse Interaction and the Creation Tool
Eclipse Draw2d Layouts Reference Card
Short introductory tutorial to GEF given at JJTV meetup.
Pingback: How to refresh model source/target connection “children” of GEF NodeEditParts | New Code on the Block
Pingback: Dynamically calculating the position constraints for a figure in a GEF editor layout in relation to another figure | New Code on the Block