splitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, true, mapPanel, sideBar);
splitPane.setDividerSize(3);
setSidebarVisible(Settings.getBoolean("mapview.sidebar.visible", true));
add(splitPane, BorderLayout.CENTER);
// add default sidebar tabs
InfoPanel info = new InfoPanel(this);
mapPanel.addGraphListener(info);
addSideTab(Lang.get("infopanel.title"), Icons.get("info"), info, Lang.get("infopanel.tooltip"));
addSideTab(Lang.get("menu.edit"), Icons.get("cursor_edit"), new EditPanel(this), "");
// load plugin sidebar tabs
for (SidebarPlugin p : new PluginManagerUtil(Controller.pm).getPlugins(SidebarPlugin.class)) {