PluginMgr pm = PluginMgr.getInstance();
// The content container consists of...
// ...the property browser and the browser (left)
TabbedPluginContainer leftContainer = new TabbedPluginContainer();
leftContainer.addPlugin(pm.createVisibleInstance(PropertyBrowserPlugin.class, this), true);
// ...and the process variables, color chooser, context inspector and the console (right)
ColorChooserPlugin colorChooser = (ColorChooserPlugin) pm.createInstance(ColorChooserPlugin.class, this);
colorChooser.setHelpText(getPluginResourceCollection().getOptionalString("chooserhelptext"));
TabbedPluginContainer rightContainer = new TabbedPluginContainer();
rightContainer.addPlugin(pm.createVisibleInstance(VariablesPlugin.class, this), true);
rightContainer.addPlugin(colorChooser, false);
rightContainer.addPlugin(pm.createVisibleInstance(InspectorPlugin.class, this), false);
rightContainer.addPlugin(pm.createVisibleInstance(StackTracePlugin.class, this), false);
// Divider for content area (modeler, toolbox, item browser)
PluginDivider divider = new PluginDivider();
divider.addContainer(leftContainer);
divider.addContainer(rightContainer);