86 |
private boolean showInstrumentFileColumn = false; |
private boolean showInstrumentFileColumn = false; |
87 |
private boolean showInstrumentNrColumn = false; |
private boolean showInstrumentNrColumn = false; |
88 |
private boolean showKeywordsColumn = false; |
private boolean showKeywordsColumn = false; |
89 |
|
private boolean showDummyColumn = false; |
90 |
|
|
91 |
private DbDirectoryTreeNode directoryNode; |
private DbDirectoryTreeNode directoryNode; |
92 |
|
|
251 |
updateColumns(); |
updateColumns(); |
252 |
} |
} |
253 |
|
|
254 |
|
/** Gets whether the <b>Dummy</b> column is shown. */ |
255 |
|
public boolean |
256 |
|
getShowDummyColumn() { return showDummyColumn; } |
257 |
|
|
258 |
|
/** Sets whether the <b>Dummy</b> column should be shown. */ |
259 |
|
public void |
260 |
|
setShowDummyColumn(boolean b) { |
261 |
|
if(b == showDummyColumn) return; |
262 |
|
showDummyColumn = b; |
263 |
|
updateColumns(); |
264 |
|
} |
265 |
|
|
266 |
/** |
/** |
267 |
* Returns a comparator for the specified column or <code>null</code> |
* Returns a comparator for the specified column or <code>null</code> |
268 |
* if there is no suitable comparator for the specified column. |
* if there is no suitable comparator for the specified column. |
380 |
if(showInstrumentFileColumn) columns.add(ColumnType.INSTRUMENT_FILE); |
if(showInstrumentFileColumn) columns.add(ColumnType.INSTRUMENT_FILE); |
381 |
if(showInstrumentNrColumn) columns.add(ColumnType.INSTRUMENT_NR); |
if(showInstrumentNrColumn) columns.add(ColumnType.INSTRUMENT_NR); |
382 |
if(showKeywordsColumn) columns.add(ColumnType.KEYWORDS); |
if(showKeywordsColumn) columns.add(ColumnType.KEYWORDS); |
383 |
columns.add(ColumnType.DUMMY); |
if(showDummyColumn) columns.add(ColumnType.DUMMY); |
384 |
|
|
385 |
fireTableStructureChanged(); |
fireTableStructureChanged(); |
386 |
} |
} |