Bug 474200 - Node Label custom positioning does not work with a DBorderItemLocator
Summary: Node Label custom positioning does not work with a DBorderItemLocator
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 3.0.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2015-08-04 04:15 EDT by Steve Monnier CLA
Modified: 2015-08-04 05:15 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Monnier CLA 2015-08-04 04:15:10 EDT
As presented in the online documentation (https://www.eclipse.org/sirius/doc/developer/extensions-provide_custom_style.html), it is possible to customize the node label positioning in order to fix it on a specific side.
In the provided custom StyleConfiguration, the method getNameBorderItemLocator is overridden to provide a new BorderItemLocator (GMF) with a prefered side. This customization does not work anymore if we provide a DBorderItemLocator (Sirius). As it is extending BorderItemLocator, this is a regression.