Print at Dec 19, 2025, 12:23:18 AM

Posted by Puybaret at Jan 5, 2012, 11:14:39 AM
Re: Access the PlanController
Hi,

I just committed some changes in source code to grant access to controllers from plugins.
Sorry if I didn't include this change in version 3.4, but once I discovered that it required to change some dependency between com.eteks.sweethome3d.viewcontroller and com.eteks.sweethome3d.plugin packages, I was reluctant to do it, because it would break code in some versions derived from Sweet Home 3D (but not existing plugins). I finally made the changes today, so please test it when you can.

To all developers who created a derived version of Sweet Home 3D:
if your program uses directly com.eteks.sweethome3d.viewcontroller.HomeController class (by subclassing it or instantiating it), you should just replace it by com.eteks.sweethome3d.plugin.HomePluginController class. Sorry for any problem it might cause.

----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator