Ignore:
Timestamp:
2013-03-25T20:11:11+01:00 (12 years ago)
Author:
zverik
Message:

small refactoring and tuning of offset watcher

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/imagery_offset_db/src/iodb/GetImageryOffsetAction.java

    r29394 r29399  
    2626 * @license WTFPL
    2727 */
    28 public class GetImageryOffsetAction extends JosmAction {
     28public class GetImageryOffsetAction extends JosmAction implements ImageryOffsetWatcher.OffsetStateListener {
    2929    private Icon iconOffsetOk;
    3030    private Icon iconOffsetBad;
     
    3939                KeyEvent.VK_I, Shortcut.ALT_CTRL), true);
    4040        iconOffsetOk = ImageProvider.get("getoffset");
    41         iconOffsetBad = ImageProvider.get("getoffsetnow"); // todo: create icon
     41        iconOffsetBad = ImageProvider.get("getoffsetnow");
    4242        ImageryOffsetWatcher.getInstance().register(this);
    4343    }
Note: See TracChangeset for help on using the changeset viewer.