Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 325478

Summary: Selection Behavior documentation out of date
Product: [Modeling] Graphiti Reporter: Rhett Hudson <rhett.hudson>
Component: CoreAssignee: Project Inbox <graphiti-inbox>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: juergen.pasch, matthias.gorning, michael.wenz
Version: 0.7.0   
Target Milestone: 0.7.0   
Hardware: All   
OS: All   
Whiteboard:

Description Rhett Hudson CLA 2010-09-16 10:42:10 EDT
Build Identifier: Build id: 20100617-1415

Looking at the git logs, it seems that the getSelectionArea() and getSelectionGraphicsAlgorithm() methods of IToolBehaviorProvider have been renamed to getClickArea() and getSelectionBorder() respectively. The documentation on the "Tool Behavior Provider:Selection Behavior" page of the Graphiti Developer Guide refers to the old names.

I was hoping to provide a patch that fixes the problem, but I'm not sure how to edit the XML in a sane fashion.

Reproducible: Always

Steps to Reproduce:
1.Open Help
2.Select "Graphiti Developer Guide:Tool Behavior Provider:Selection Behavior"
3.Look at the bottom where is discusses the example code
Comment 1 Juergen Pasch CLA 2010-09-20 07:06:21 EDT
Adjusted selection-behavior.htm: setWidthOfGraphicsAlgorithm -> setWidth;
getSelectionArea -> getClickArea;
getSelectionGraphicsAlgorithm -> getSelectionBorder;
Comment 2 Michael Wenz CLA 2010-10-07 03:05:39 EDT
Part of 0.7.0 release