Joined: May 28, 2015
Post Count: 607
Status:
Offline
Rename furniture
Hi all!
This plugin add the name of rooms to furniture or furniture groups.
It works correctly with the Sweet Home 3D executable jar or Java Web Star.
I have a problem with the Sweet Home 3D Windows installer on my computer or another. when I install my plugin, the splash screen remains frozen for several minutes. If i remove it, the Windows installer version working again with existing plugins.
I enclose my unfinalized plugin (Java source included) to know if this bug is reproducible and how fixed it.
Thanks for your help
----------------------------------------
EnkoNyito
France
Joined: Nov 7, 2005
Post Count: 9423
Status:
Offline
Re: Rename furniture
Thanks for your plug-in. If it doesn't work with the installer, I suspect a Java version incompatibility. You probably compiled your classes for Java 7 or 8, whereas you should target Java 6 or 5 (the installer version comes with a JRE 6).
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Joined: May 28, 2015
Post Count: 607
Status:
Offline
Re: Rename furniture
The discussion of Wishlist forum continues here.
Thank you for the plug-in. It works as expected on my computer.
Two small suggestions: 1 - The two characters you chose to surround the room name take up "a lot" of space. Maybe you could add only a "-" (hyphen) after the name? 2 - The plug-in adds "Rename" to the toolbar. Other plug-ins add "PLUGIN" and then add the plug-in under that "chapter". Maybe your plug-in could check if "PLUGIN" is already present, than add the plug-in to that category. If not, create that category. This would keep things a bit more standardized.
Thanks again,
Hans
1 - I use unusual characters to add the rooms name. What do you think of it '|' ? 2 - Some plug-in uses "Tools" in the toolbar as in the example of Developer's Guide. What-is the standard? I find a "Plug-in" menu would be much more meaningful.
As Sweet Home 3D 5.0 will integrate levels at the same elevation, i would try to take into account this feature in the next version of the plugin.
----------------------------------------
EnkoNyito
France
Joined: Nov 7, 2005
Post Count: 9423
Status:
Offline
Re: Rename furniture
Using a menu written in all uppercase letters doesn't sound nice. Some other plug-ins add a menu item in Tools menu and I would recommend to continue on this path. You could also put it in any existing menu, like Furniture menu, but at this moment, that will work nicely only in the English version and the localization you'll choose to support, and it will add a Furniture menu in other languages.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator