Bug 530874 - [API] The ExportAction.setAutoScaleDiagram(boolean) deprecated method is still mandatory
Summary: [API] The ExportAction.setAutoScaleDiagram(boolean) deprecated method is stil...
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: 5.1.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 6.0.0   Edit
Assignee: Florian Barbin CLA
QA Contact: Guillaume Coutable CLA
URL:
Whiteboard:
Keywords: triaged
Depends on: 530850
Blocks:
  Show dependency tree
 
Reported: 2018-02-08 04:44 EST by Florian Barbin CLA
Modified: 2018-06-27 11:55 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Barbin CLA 2018-02-08 04:44:42 EST
+++ This bug was initially created as a clone of Bug #530850 +++

The ExportAction.setAutoScaleDiagram(boolean) method which is supposed to be deprecated (since Bug: 497469 and the new method setDiagramScaleLevel) is still mandatory to activate the auto scale.
If setAutoScaleDiagram is not called, the diagramScaleLevel value will not be considered.

The autoScaleDiagram value should be computed according the diagramScaleLevel value.
Comment 1 Florian Barbin CLA 2018-02-12 11:41:25 EST
Steps to reproduce:


Make sure that the scenario described here[1] is still working.

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=527047#c3
Comment 2 Eclipse Genie CLA 2018-04-09 09:26:09 EDT
New Gerrit change created: https://git.eclipse.org/r/120897
Comment 4 Guillaume Coutable CLA 2018-05-25 05:53:03 EDT
Validated with Sirius 6.0M7
Comment 5 Laurent Redor CLA 2018-06-27 11:55:17 EDT
Available in Sirius 6.0.0, see https://wiki.eclipse.org/Sirius/6.0.0 for details