Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363186 - Allow modification of selection and hover state also for anchors
Summary: Allow modification of selection and hover state also for anchors
Status: CLOSED FIXED
Alias: None
Product: Graphiti
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 0.9.0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: Juno M7 theme_round_offs
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-08 10:29 EST by Michael Wenz CLA
Modified: 2012-06-29 04:23 EDT (History)
1 user (show)

See Also:
matthias.gorning: juno+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Wenz CLA 2011-11-08 10:29:14 EST
The tool behaviour provider methods getSelectionInfoForXXX methods allow to influence the way the selection state and hovering state for shapes and connections are displayed. This functionality is lacking for anchors.
Comment 1 Michael Wenz CLA 2011-11-08 10:34:21 EST
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=329517 for proposed source changes
Comment 2 Matthias Gorning CLA 2012-03-27 08:21:12 EDT
Fixed.

* changed GFResizableEditPolicy so it works also without a ResizeShapeContext
* use GFResizableEditPolicy for AdvancedAnchorEditParts so that their
visual state will be set correctly
* this visual state is used in GFAbstractShape and is also responsible
for the selection feedback
* added new method getSelectionInfoForAnchor() to the toolbehaviour
provider
* usage of this method in GFAbstractShape

commit dab55ff87a9e2d61e2ec5d1336705c28b18a02f6
Author: mgorning <matthias.gorning@sap.com> 2012-03-27 14:08:47
Committer: mgorning <matthias.gorning@sap.com> 2012-03-27 14:08:47
Parent: a3262194c3a86e5d6b21a8502352f0fd41642303 (Bug 363186 - Allow modification of selection and hover state also for anchors)
Branches: origin/master, master
Comment 3 Michael Wenz CLA 2012-04-11 10:58:17 EDT
Bookkeeping: Set target release
Comment 4 Michael Wenz CLA 2012-06-29 04:23:42 EDT
Part of Graphiti 0.9.0 (Eclipse Juno)