Bug 560839 - Invalid layout extensions interfaces
Summary: Invalid layout extensions interfaces
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 6.3.0   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: Next   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2020-03-06 02:59 EST by Arthur Daussy CLA
Modified: 2022-01-27 08:34 EST (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 Arthur Daussy CLA 2020-03-06 02:59:40 EST
The two extension that allow to provide a custom layout seems to require missing interfaces.

org.eclipse.sirius.diagram.ui.customLayoutAlgorithmProvider seems to require org.eclipse.sirius.diagram.ui.api.layout.CustomAlgorithmProvider but it can't be found in the class path. Maybe it should be CustomLayoutAlgorithm instead?

And "org.eclipse.sirius.diagram.ui.layoutProvider" seems to require " org.eclipse.sirius.diagram.ui.business.api.layout.LayoutProvider" but I can't find any match.

Am I missing something? A plugin? A feature?
Comment 1 Pierre-Charles David CLA 2020-03-06 03:13:35 EST
The extension point definition seems broken/out of date. The correct interface to implement is org.eclipse.sirius.diagram.ui.api.layout.CustomLayoutAlgorithmProvider, which is defined in the standard org.eclipse.sirius.diagram.ui plug-in.