|
Re: Programmatically layout a diagram [message #1717421 is a reply to message #1717378] |
Sun, 13 December 2015 12:00 |
Mehmet Karaman Messages: 63 Registered: November 2012 Location: Berlin |
Member |
|
|
The "Layout selection" context menu is layouting the diagram, it's contained in the de.cau.cs.kieler.kiml.ui bundle. To run the layouting, the command with the ID "de.cau.cs.kieler.kiml.ui.command.layout" has to be executed.
Example:
ICommandService commandService = (ICommandService) workbench.getService(ICommandService.class);
Command command = commandService.getCommand("de.cau.cs.kieler.kiml.ui.command.layout");
command.executeWithChecks(new ExecutionEvent());
[Updated on: Sun, 13 December 2015 12:00] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.01908 seconds