source: josm/trunk/src/org/openstreetmap/josm/gui/history/NodeListTableColumnModel.java@ 2850

Last change on this file since 2850 was 2512, checked in by stoecker, 14 years ago

i18n updated, fixed files to reduce problems when applying patches, fix #4017

File size: 786 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.gui.history;
3
4import static org.openstreetmap.josm.tools.I18n.tr;
5
6import javax.swing.table.DefaultTableColumnModel;
7import javax.swing.table.TableColumn;
8
9/**
10 * The {@see TableColumnModel} for the table with the list of nodes.
11 *
12 *
13 */
14public class NodeListTableColumnModel extends DefaultTableColumnModel {
15 protected void createColumns() {
16 TableColumn col = null;
17 NodeListTableCellRenderer renderer = new NodeListTableCellRenderer();
18
19 // column 0 - Version
20 col = new TableColumn(0);
21 col.setHeaderValue(tr("Nodes"));
22 col.setCellRenderer(renderer);
23 addColumn(col);
24 }
25
26 public NodeListTableColumnModel() {
27 createColumns();
28 }
29}
Note: See TracBrowser for help on using the repository browser.