Contents
Foreword by Mike Milinkovich
Preface
Chapter 1: What is GEF
1.1 GEF Overview
1.2 GEF Example Applications
1.3 Summary
Chapter 2: A simple Draw2D example
2.1 Draw2D Installation
2.2 Draw2D project
2.3 Draw2D application
2.4 Draw2D view
2.5 Draw2D events
2.6 Book Samples
2.7 Summary
Chapter 3: Draw2D Infrastructure
3.1 Architecture
3.2 Drawing
3.3 Processing Events
3.4 Summary
Chapter 4: Figures
4.1 IFigure
4.2 Common Figures
4.3 Custom Figures
4.4 Painting
4.5 Borders
4.6 Summary
Chapter 5: Layout Managers
5.1 List-Constraints
5.2 Minimum, Maximum, and Preferred Size
5.3 Common Layout Managers
5.4 Using Layout Managers
5.5 Summary
Chapter 6: Connections
6.1 Common Anchors
6.2 Custom Anchors
6.3 Decorations
6.4 Routing Connections
6.5 Connection Labels
6.6 Summary
Chapter 7: Layers and Viewports
7.1 Layers
7.2 Scrolling
7.3 Coordinates
7.4 Scaling
7.5 Summary
Chapter 8: GEF Models
8.1 Genealogy Model
8.2 Populating the diagram
8.3 Storing the diagram
8.4 Summary
Chapter 9: Zest
9.1 Setup
9.2 GraphViewer
9.3 Content Provider
9.4 Presentation
9.5 Nested Content
9.6 Filters
9.7 Layout Algorithms
9.8 Summary
Chapter 10: GEF Plug-in Overview
10.1 MVC Architecture
10.2 EditPartViewer
10.3 Tools, Actions, Policies, Requests and Commands
10.4 Summary
Chapter 11: GEF View
11.1 Setup
11.2 GEF Viewer
11.3 EditPartFactory
11.4 Connections
11.5 Summary
11.6 References
Chapter 12: GEF Editor
12.1 Setup
12.2 GenealogyGraphEditor
12.3 Selection
12.4 Summary
Chapter 13: Commands and Tools
13.1 Listening for model changes
13.2 Commands
13.3 EditPolicies
13.4 Global Edit Menu Actions
13.5 Palette and Tools
13.6 Summary