From 67191bd1f9b12ae04cf1bd5f43dbf8db72b319ec Mon Sep 17 00:00:00 2001 From: rgronback Date: Fri, 3 Mar 2006 20:57:10 +0000 Subject: Added link and label to basic tutorial steps. --- doc/org.eclipse.gmf.doc.ui/cheatsheets/tutorial.xml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'doc/org.eclipse.gmf.doc.ui') diff --git a/doc/org.eclipse.gmf.doc.ui/cheatsheets/tutorial.xml b/doc/org.eclipse.gmf.doc.ui/cheatsheets/tutorial.xml index eab070fe5..5a16e0166 100644 --- a/doc/org.eclipse.gmf.doc.ui/cheatsheets/tutorial.xml +++ b/doc/org.eclipse.gmf.doc.ui/cheatsheets/tutorial.xml @@ -1,7 +1,7 @@ - This tutorial guides you through the definition, mapping, and generation of a graphical editor for mindmaps using GMF.

To start working on this cheatsheet, click the "Click to Begin" button below.

For each step, press the Help button (?) to access full instructions and viewlets for each step.
+ This tutorial guides you through the definition, mapping, and generation of a graphical editor for mindmaps using GMF.

To start working on this cheatsheet, click the "Click to Begin" button below.

For each step, press the Help button (?) to access full instructions and viewlets for each step. These are links to the full GMF Tutorial online.
+ title="Create a Graphical Definition">
The following steps are required:

1. In the wizard, select the 'org.eclipse.gmf.examples.mindmap/model' as the parent folder for your mindmap.gmfgraph model.

2. The second page of the wizard has a Browse button that should easily find our mindmap.ecore model. -

3. The last page of the wizard gives us options for those features found in our domain model (node, link, or label). For now, uncheck all but the Topic element as a node and its name attribute as a label. +

3. The last page of the wizard gives us options for those features found in our domain model (node, link, or label). For now, uncheck all but the 'Topic' element as a node, its 'name' attribute as a label, and the 'subtopics' relationship as a link.
@@ -52,7 +52,7 @@

The following steps are required:

1. Again, select the 'model' folder to hold the mindmap.gmftool model.

2. And, on the second page we will locate our mindmap.ecore file as before. -

3. On the last page, we will uncheck all but our Topic node for now. +

3. On the last page, we will uncheck all but those we did in the graphical definition; that is, our 'Topic' element, its 'name' attribute, and the 'subtopics' relationship. @@ -71,7 +71,8 @@

1. Again, select the 'model' folder to hold the mindmap.gmfmap model.

2. On the second page, each of our domain, graphical definition, and tooling definition files are preset, so we will just need to press Load for each and press Next.

3. Select Map for our 'Diagram Root Element'. -

4. On the last page of the wizard, examine the mappings determined appropriate by the wizard. For now, remove all but our Topic node and press Finish. +

4. On the last page of the wizard, examine the mappings determined appropriate by the wizard. For now, remove all but 'Topic' in the Nodes list, and 'subtopics' in the Links list. Press Finish when you're done. +

5. Just for fun, we'll manually set the Diagram Label property. Select the 'Node Mapping' below the only 'Top Node Reference' in the mapping model and select TopicNameLabel for 'Diagram Label' in the properties view. -- cgit v1.2.3