|
|
Re: MrTreeOptions class not exported? [message #1751231 is a reply to message #1751223] |
Thu, 05 January 2017 21:58 |
Iain Whiteside Messages: 17 Registered: June 2016 |
Junior Member |
|
|
Thanks for the quick fix. On a related note, my refactoring of KNode to ElkNode for the nightly build seems to not be enough to get the MrTree algorithm running in my custom DiagramLayoutEngine (which I have assumed is where the code mentioned in the documentation should live, it isn't clear ).
public LayoutMapping layout(IWorkbenchPart workbenchPart, Object diagramPart, IElkCancelIndicator cancelIndicator,
Parameters params) {
LayoutConfigurator configurator = new LayoutConfigurator();
configurator.configure(ElkNode.class)
.setProperty(CoreOptions.ALGORITHM, "org.eclipse.elk.mrtree.mrTree");
params.addLayoutRun(configurator);
...
return super.layout(workbenchPart, diagramPart, cancelIndicator, params);
}
Is there something else obvious that I've missed? In the breakpoints I have set, a null algorithm id is being passed around...
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04652 seconds