Changeset 14030 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/relation/actions/IRelationEditorUpdateOn.java
- Timestamp:
- 2018-07-15T12:39:47+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/actions/IRelationEditorUpdateOn.java
r14029 r14030 1 // License: GPL. For details, see LICENSE file. 1 2 package org.openstreetmap.josm.gui.dialogs.relation.actions; 2 3 … … 6 7 * <p> 7 8 * It holds common constants that are often used. 8 * 9 * 9 10 * @author Michael Zangl 10 11 * @since 14027 … … 23 24 .addListSelectionListener(action); 24 25 26 /** 27 * Update when a tag of the relation changed 28 */ 25 29 IRelationEditorUpdateOn TAG_CHANGE = (editor, action) -> editor.getTagModel().addPropertyChangeListener(action); 30 31 /** 32 * Update when a relation changed 33 */ 26 34 IRelationEditorUpdateOn SELECTION_TABLE_CHANGE = (editor, action) -> editor.getSelectionTableModel() 27 35 .addTableModelListener(action); 28 36 37 /** 38 * Registers the given action as listener on the relation editor. 39 * @param editor The relation editor to register the listeners on 40 * @param action The action that should be registered 41 */ 29 42 void register(IRelationEditorActionAccess editor, AbstractRelationEditorAction action); 30 43 }
Note:
See TracChangeset
for help on using the changeset viewer.