Skip to content

sgaflv/gef4.mvc.tutorial

 
 

Repository files navigation

gef4.mvc.tutorial

Depends on GEF4 revision: Revision: 920b9963a4cc7945c42252d031d0f7690cb79472 Date: 21.12.2015 19:42:38

Tutorial 1

Minimal model-view-control, showing a rounded rectangle.
http://fbenoit.blogspot.de/2015/11/gef4-tutorial-part1.html

Tutorial 2

Added text to be shown in the rectangles. The size is adjusted to the text.
http://fbenoit.blogspot.de/2015/11/gef4-tutorial-part-2-text-box.html

Tutorial 3

Show 2 text nodes. Have a 2 level model tree.
http://fbenoit.blogspot.de/2015/11/gef4-tutorial-part-3-model-tree-and.html

Tutorial 4

Have the nodes be dragable. Store position in the model, save/reload to file.
http://fbenoit.blogspot.de/2015/11/gef4-tutorial-part-4-dragging-and-store.html

Tutorial 5

The text of the nodes is editable by double click or selected then press ENTER or F2
http://fbenoit.blogspot.de/2015/11/gef4-tutorial-part-5-editing-text.html

Tutorial 6

Undo and redo, via button and keyboard Ctrl+Z/Y
http://fbenoit.blogspot.de/2015/11/gef4-tutorial-part-6-undo-redo.html

Tutorial 7

Add via palette. Remove node with keyboard and handle tool.
http://fbenoit.blogspot.de/2015/11/gef4-tutorial-part-7-add-remove.html

Future Ideas

  • Layout
  • Connections
  • duplicate
  • navigate selection by keyboard

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%