Changeset 12657 in josm
- Timestamp:
- 2017-08-26T00:45:41+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/dialogs/relation
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/IMemberModelListener.java
r10600 r12657 2 2 package org.openstreetmap.josm.gui.dialogs.relation; 3 3 4 /** 5 * A listener that is called whenever a member should be made visible 6 */ 4 7 @FunctionalInterface 5 8 public interface IMemberModelListener { 9 /** 10 * Requests the given member to become visible 11 * @param index The index of the member in the table. 12 */ 6 13 void makeMemberVisible(int index); 7 14 } -
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberRoleCellEditor.java
r9078 r12657 6 6 import javax.swing.AbstractCellEditor; 7 7 import javax.swing.BorderFactory; 8 import javax.swing.CellEditor; 8 9 import javax.swing.JTable; 9 10 import javax.swing.table.TableCellEditor; … … 14 15 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionList; 15 16 17 /** 18 * The {@link CellEditor} for the role cell in the table. Supports autocompletion. 19 */ 16 20 public class MemberRoleCellEditor extends AbstractCellEditor implements TableCellEditor { 17 21 private final AutoCompletingTextField editor; -
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberTable.java
r12636 r12657 41 41 import org.openstreetmap.josm.gui.widgets.OsmPrimitivesTable; 42 42 43 /** 44 * The table of members a selected relation has. 45 */ 43 46 public class MemberTable extends OsmPrimitivesTable implements IMemberModelListener { 44 47 -
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberTableColumnModel.java
r7556 r12657 10 10 import org.openstreetmap.josm.data.osm.Relation; 11 11 12 /** 13 * This is the column model for the {@link MemberTable} 14 */ 12 15 public class MemberTableColumnModel extends DefaultTableColumnModel { 13 16 -
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberTableLinkedCellRenderer.java
r12537 r12657 15 15 import org.openstreetmap.josm.tools.ImageProvider; 16 16 17 /** 18 * This class renders the link column of the member table. It shows if the way segments are connected or not. 19 */ 17 20 public class MemberTableLinkedCellRenderer extends MemberTableCellRenderer { 18 21 -
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberTableModel.java
r12636 r12657 49 49 import org.openstreetmap.josm.tools.bugreport.BugReport; 50 50 51 /** 52 * This is the base model used for the {@link MemberTable}. It holds the member data. 53 */ 51 54 public class MemberTableModel extends AbstractTableModel 52 55 implements TableModelListener, SelectionChangedListener, DataSetListener, OsmPrimitivesTableModel { -
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberTableRoleCellRenderer.java
r9223 r12657 6 6 import javax.swing.JTable; 7 7 8 /** 9 * This renderer renders the role cell. 10 */ 8 11 public class MemberTableRoleCellRenderer extends MemberTableCellRenderer { 9 12 @Override -
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/ReferringRelationsBrowserModel.java
r9775 r12657 11 11 import org.openstreetmap.josm.data.osm.RelationMember; 12 12 13 /** 14 * This is the model for the {@link ReferringRelationsBrowser}. 15 * <p> 16 * It holds all referrers to a given relation 17 */ 13 18 public class ReferringRelationsBrowserModel extends AbstractListModel<Relation> { 14 19 -
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/SelectionTableModel.java
r12636 r12657 20 20 import org.openstreetmap.josm.tools.CheckParameterUtil; 21 21 22 /** 23 * This table shows the primitives that are currently selected in the main OSM view. 24 */ 22 25 public class SelectionTableModel extends AbstractTableModel implements SelectionChangedListener, ActiveLayerChangeListener, LayerChangeListener { 23 26 … … 27 30 28 31 /** 29 * constructor32 * Creates a new {@link SelectionTableModel} for a given layer 30 33 * 31 34 * @param layer the data layer. Must not be null.
Note:
See TracChangeset
for help on using the changeset viewer.