01: /*
02: * DbObjectTable.java
03: *
04: * This file is part of SQL Workbench/J, http://www.sql-workbench.net
05: *
06: * Copyright 2002-2008, Thomas Kellerer
07: * No part of this code maybe reused without the permission of the author
08: *
09: * To contact the author please send an email to: support@sql-workbench.net
10: *
11: */
12: package workbench.gui.dbobjects;
13:
14: import javax.swing.ListSelectionModel;
15: import workbench.gui.components.WbTable;
16:
17: /**
18: * @author support@sql-workbench.net
19: */
20: public class DbObjectTable extends WbTable {
21: public DbObjectTable() {
22: super (true, false, false);
23: setAutoResizeMode(AUTO_RESIZE_OFF);
24: setCellSelectionEnabled(false);
25: setColumnSelectionAllowed(false);
26: setRowSelectionAllowed(true);
27: getSelectionModel().setSelectionMode(
28: ListSelectionModel.SINGLE_SELECTION);
29: }
30: }
|