Wiki source code of Graphical Editors with Graphiti
Version 3.1 by msp on 2012/11/06 11:17
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | This tutorial will introduce another kind of concrete syntax for your models, namely a graphical syntax. Instead of writing models in a textual format, they are created by dragging elements from a palette into a two-dimensional plane. The framework we will employ here is [[Graphiti>>url:http://www.eclipse.org/graphiti/||shape="rect"]], which is based on the [[Graphical Editing Framework>>url:http://www.eclipse.org/gef/||shape="rect"]]. | ||
2 | |||
3 | === Contents === | ||
4 | |||
5 | |||
6 | |||
7 | {{toc maxLevel="2"/}} | ||
8 | |||
9 | = Creating Graphical Elements = | ||
10 | |||
11 | The main documentation of Graphiti is found in the [[Eclipse online help>>url:http://help.eclipse.org/juno/nav/23||shape="rect"]], which is also found in the Eclipse application (//Help// → //Help Contents//). If you don't have Graphiti yet, install it from the Juno release update site, //Modeling// category. | ||
12 | |||
13 | 1. Read the [[Graphiti Introduction>>url:http://help.eclipse.org/juno/topic/org.eclipse.graphiti.doc/resources/docu/gfw/graphiti-introduction.htm?cp=23_0_0||shape="rect"]]. | ||
14 | 1. Create a new plugin named |