nodeEditor = (NodeItemEditorPlugin) pm.createInstance(NodeItemEditorPlugin.class, this);
socketToolBox = (SocketToolBoxPlugin) pm.createInstance(SocketToolBoxPlugin.class, this);
colorChooser = (ColorChooserPlugin) pm.createInstance(ColorChooserPlugin.class, this);
colorChooser.setHelpText(getPluginResourceCollection().getOptionalString("chooserhelptext"));
PluginDivider main = new PluginDivider(PluginDivider.HORIZONTAL_SPLIT);
PluginDivider left = new PluginDivider(PluginDivider.VERTICAL_SPLIT);
PluginDivider right = new PluginDivider(PluginDivider.VERTICAL_SPLIT);
left.addPlugin(socketToolBox);
left.addPlugin(itemBrowser);
right.addPlugin(nodeEditor);
TabbedPluginContainer bottomContainer = new TabbedPluginContainer();
bottomContainer.addPlugin(propertyBrowser);
bottomContainer.addPlugin(colorChooser);
right.addClient(bottomContainer);
main.addClient(left);
main.addClient(right);
left.setClientProportions(new double [] { 0.3d, 0.7d });
right.setClientProportions(new double [] { 0.5d, 0.5d });
main.setClientProportions(new double [] { 0.25d, 0.75d });
setPluginDivider(main);