Re: How to get PlanComponent from Plug-in ?
by Puybaret » Fri Aug 14, 2015 3:43 am
You can access to MultipleLevelsPlanPanel instance with:
Code: Select all
getHomeController().getPlanController().getView()
but this won't help you because there's no way to export to SVG from this component.
I would suggest to create a PlanComponent instance and call exportToSVG or getClipboardImage on it like actual
implementation of the matching menu.