Changeset 28624 in osm for applications/editors/josm/plugins/FixAddresses
- Timestamp:
- 2012-08-24T13:41:33+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/FixAddressesPlugin.java
r27338 r28624 27 27 */ 28 28 public class FixAddressesPlugin extends Plugin { 29 private static IncompleteAddressesDialog incompleteAddrDlg;30 29 private static FixAddressesPreferences preferences; 31 30 … … 55 54 @Override 56 55 public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame) { 57 // TODO Auto-generated method stub58 super.mapFrameInitialized(oldFrame, newFrame);59 60 56 if (newFrame != null) { 61 incompleteAddrDlg = new IncompleteAddressesDialog();62 57 FixAddressesMapMode faMode = new FixAddressesMapMode(Main.map); 63 58 IconToggleButton faModeButton = new IconToggleButton(faMode); 64 59 faModeButton.setVisible(true); 65 newFrame.addToggleDialog( incompleteAddrDlg);60 newFrame.addToggleDialog(new IncompleteAddressesDialog()); 66 61 } 67 62 } … … 71 66 // TODO Auto-generated method stub 72 67 return getPreferences(); 73 }74 75 /**76 * @return the incompleteAddrDlg77 */78 protected static IncompleteAddressesDialog getIncompleteAddrDlg() {79 return incompleteAddrDlg;80 68 } 81 69
Note:
See TracChangeset
for help on using the changeset viewer.