Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367552 - Error in Graphiti Documentation
Summary: Error in Graphiti Documentation
Status: CLOSED FIXED
Alias: None
Product: Graphiti
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 0.9.0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: Juno M5 Theme_round_offs
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-26 09:58 EST by Tarun Telang CLA
Modified: 2012-06-29 04:17 EDT (History)
2 users (show)

See Also:
juergen.pasch: documentation+
juergen.pasch: juno+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tarun Telang CLA 2011-12-26 09:58:05 EST
Build Identifier: Version: 4.2.0 Build id: I20111209-2100

At the documentation link below:
http://localhost:55983/help/topic/org.eclipse.graphiti.doc/resources/docu/gfw/diagram.htm?cp=6_1_2
Under the section "Register the Diagram Type Provider and Diagram Type" the following plugin.xml is incorrect.

------------ 
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
  <extension
      point="org.eclipse.graphiti.ui.diagramTypes">
    <diagramType
      description="This is the diagram type for my Graphiti tutorial"
      id="org.eclipse.graphiti.examples.tutorial.diagram.MyTutorialDiagramType"
      name="My Graphiti Tutorial Diagram Type"
      type="mytutorial">
    </diagramType>
  </extension>

  <extension
      point="org.eclipse.graphiti.ui.diagramTypeProviders">
    <diagramTypeProvider
       class="org.eclipse.graphiti.examples.tutorial.diagram.
           MyTutorialDiagramTypeProvider"
      description="This is my editor for the Graphiti tutorial"
      id="org.eclipse.graphiti.examples.tutorial.diagram.
          MyTutorialDiagramTypeProvider"
      name="My tutorial editor">
      <diagramType
    </diagramTypeProvider>
  </extension>
</plugin>
-------------------------

Best Regards,

Reproducible: Always

Steps to Reproduce:
1.Launch Eclipse IDE & Click Helo > Help Contents to open the Eclipse Documentation
2. Click Graphiti Developer Guide > Tutorial > Diagram and go to the section Register the Diagram Type Provider and Diagram Type. 
3. You will find the code for plugin.xml which is erroneous and not a valid xml.
Comment 1 Juergen Pasch CLA 2011-12-28 04:18:05 EST
The plugin.xml is corrected now on head.
Comment 2 Michael Wenz CLA 2012-04-11 10:49:59 EDT
Bookkeeping: Set target release
Comment 3 Michael Wenz CLA 2012-06-29 04:17:10 EDT
Part of Graphiti 0.9.0 (Eclipse Juno)