private ObjectPropertiesForm objectPropertiesForm;
public BrowserToolWindowForm(Project project) {
this.project = project;
//toolWindow.setIcon(dbBrowser.getIcon(0));
DatabaseBrowserManager browserManager = DatabaseBrowserManager.getInstance(project);
displayMode = DatabaseBrowserSettings.getInstance(project).getGeneralSettings().getDisplayMode();
initBrowserForm();
ActionToolbar actionToolbar = ActionUtil.createActionToolbar("", true, "DBNavigator.ActionGroup.Browser.Controls");
actionsPanel.add(actionToolbar.getComponent());
/*ActionToolbar objectPropertiesActionToolbar = ActionUtil.createActionToolbar("", false, "DBNavigator.ActionGroup.Browser.ObjectProperties");
closeActionPanel.add(objectPropertiesActionToolbar.getComponent(), BorderLayout.CENTER);*/
objectPropertiesPanel.setVisible(browserManager.getShowObjectProperties().value());
objectPropertiesForm = new ObjectPropertiesForm(project);
objectPropertiesPanel.add(objectPropertiesForm.getComponent());
GuiUtils.replaceJSplitPaneWithIDEASplitter(mainPanel);
GUIUtil.updateSplitterProportion(mainPanel, (float) 0.7);