Plugin Load

by k005 » Thu Aug 25, 2022 6:37 am

Hello everyone

In this way, I created an application window consisting of a window and texboxes.

I want to run it as a plugin on sweet home.

for example placing it in the tools menu.

Which codes should I add to which class?

*****
import javax.swing.JOptionPane;
import com.eteks.sweethome3d.plugin.Plugin;
import com.eteks.sweethome3d.plugin.PluginAction;



public Action() {
putPropertyValue(Property.NAME, "window-1");
putPropertyValue(Property.MENU, "Tools");

setEnabled(true);
}
****


Image