Last change
on this file since 18845 was 11330, checked in by Don-vip, 8 years ago |
sonar - fix recent issues
|
-
Property svn:eol-style
set to
native
|
File size:
1.2 KB
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.gui.conflict.pair.relation;
|
---|
3 |
|
---|
4 | import javax.swing.ListSelectionModel;
|
---|
5 |
|
---|
6 | import org.openstreetmap.josm.actions.ZoomToAction;
|
---|
7 | import org.openstreetmap.josm.command.conflict.RelationMemberConflictResolverCommand;
|
---|
8 | import org.openstreetmap.josm.data.osm.RelationMember;
|
---|
9 | import org.openstreetmap.josm.gui.conflict.pair.AbstractListMergeModel;
|
---|
10 | import org.openstreetmap.josm.gui.conflict.pair.PairTable;
|
---|
11 | import org.openstreetmap.josm.gui.widgets.OsmPrimitivesTableModel;
|
---|
12 |
|
---|
13 | /**
|
---|
14 | * Relation member table.
|
---|
15 | * @since 5297
|
---|
16 | */
|
---|
17 | public class RelationMemberTable extends PairTable {
|
---|
18 |
|
---|
19 | /**
|
---|
20 | * Constructs a new {@code RelationMemberTable}.
|
---|
21 | * @param name table name
|
---|
22 | * @param model relation member merge model
|
---|
23 | * @param dm table model
|
---|
24 | * @param sm selection model
|
---|
25 | */
|
---|
26 | public RelationMemberTable(String name, AbstractListMergeModel<RelationMember, RelationMemberConflictResolverCommand> model,
|
---|
27 | OsmPrimitivesTableModel dm, ListSelectionModel sm) {
|
---|
28 | super(name, model, dm, new RelationMemberListColumnModel(), sm);
|
---|
29 | }
|
---|
30 |
|
---|
31 | @Override
|
---|
32 | protected ZoomToAction buildZoomToAction() {
|
---|
33 | return new ZoomToAction(this);
|
---|
34 | }
|
---|
35 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.