Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325478 - Selection Behavior documentation out of date
Summary: Selection Behavior documentation out of date
Status: CLOSED FIXED
Alias: None
Product: Graphiti
Classification: Modeling
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: 0.7.0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-16 10:42 EDT by Rhett Hudson CLA
Modified: 2010-10-07 03:05 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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