Last change
on this file since 7937 was 7937, checked in by bastiK, 9 years ago |
add subversion property svn:eol=native
|
-
Property svn:eol-style
set to
native
|
File size:
811 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.gui.conflict.pair.nodes;
|
---|
3 |
|
---|
4 | import javax.swing.ListSelectionModel;
|
---|
5 |
|
---|
6 | import org.openstreetmap.josm.actions.ZoomToAction;
|
---|
7 | import org.openstreetmap.josm.data.osm.Node;
|
---|
8 | import org.openstreetmap.josm.gui.conflict.pair.ListMergeModel;
|
---|
9 | import org.openstreetmap.josm.gui.conflict.pair.PairTable;
|
---|
10 | import org.openstreetmap.josm.gui.widgets.OsmPrimitivesTableModel;
|
---|
11 |
|
---|
12 | public class NodeListTable extends PairTable {
|
---|
13 |
|
---|
14 | public NodeListTable(String name, ListMergeModel<Node> model, OsmPrimitivesTableModel dm, ListSelectionModel sm) {
|
---|
15 | super(name, model, dm, new NodeListColumnModel(new NodeListTableCellRenderer()), sm);
|
---|
16 | }
|
---|
17 |
|
---|
18 | @Override
|
---|
19 | protected ZoomToAction buildZoomToAction() {
|
---|
20 | return new ZoomToAction(this);
|
---|
21 | }
|
---|
22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.