toolsInGroupTable.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
toolsInGroupTable.getSelectionModel().addListSelectionListener(
new ContextPutListSelectionListener(viewContext, GroupKeySpace.TOOL_IN_GROUP_ID, toolsInGroupTable, 0)
);
ToolBarContentPanel panel = new ToolBarContentPanel(new JScrollPane(toolsInGroupTable));
panel.setBorder(new TitledBorder("Tools In"));
JComboBox tools = new JComboBox(new ToolsComboBoxModel(viewContext));
tools.addItemListener(new ContextPutItemListener(viewContext, GroupKeySpace.TOOL_ID));
panel.getToolBar().add(tools);
panel.getToolBar().add(new ViewContextAction("Add", null, viewContext, GroupKeySpace.ADD_TOOL,
ToolWindowGroup.class));
panel.getToolBar().add(new ViewContextAction("Remove", null, viewContext, GroupKeySpace.REMOVE_TOOL,
GroupKeySpace.TOOL_IN_GROUP_ID));
return panel;
}