- Timestamp:
- 2017-09-13T12:28:29+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java
r12666 r12839 6 6 import static org.openstreetmap.josm.tools.I18n.trn; 7 7 8 import java.awt.Component; 8 9 import java.awt.Cursor; 9 10 import java.awt.Dimension; … … 669 670 * @param setting The setting used. 670 671 */ 671 void receiveSearchResult(DataSet ds, Collection<OsmPrimitive> result, int foundMatches, SearchSetting setting );672 void receiveSearchResult(DataSet ds, Collection<OsmPrimitive> result, int foundMatches, SearchSetting setting, Component parent); 672 673 } 673 674 … … 678 679 679 680 @Override 680 public void receiveSearchResult(DataSet ds, Collection<OsmPrimitive> result, int foundMatches, SearchSetting setting ) {681 public void receiveSearchResult(DataSet ds, Collection<OsmPrimitive> result, int foundMatches, SearchSetting setting, Component parent) { 681 682 ds.setSelected(result); 682 683 MapFrame map = MainApplication.getMap(); … … 700 701 if (!GraphicsEnvironment.isHeadless()) { 701 702 JOptionPane.showMessageDialog( 702 Main.parent,703 parent, 703 704 msg, 704 705 tr("Warning"), … … 721 722 @Override 722 723 public void receiveSearchResult(DataSet ds, Collection<OsmPrimitive> result, int foundMatches, 723 SearchSetting setting ) {724 SearchSetting setting, Component parent) { 724 725 this.result = result; 725 726 } … … 826 827 return; 827 828 } 828 resultReceiver.receiveSearchResult(ds, selection, foundMatches, setting );829 resultReceiver.receiveSearchResult(ds, selection, foundMatches, setting, getProgressMonitor().getWindowParent()); 829 830 } 830 831 }
Note:
See TracChangeset
for help on using the changeset viewer.