Changeset 12778 in osm for applications/editors/josm/plugins/utilsplugin/src/UtilsPlugin/UtilsPlugin.java
- Timestamp:
- 2009-01-01T18:28:53+01:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified applications/editors/josm/plugins/utilsplugin/src/UtilsPlugin/UtilsPlugin.java ΒΆ
r12579 r12778 22 22 23 23 public class UtilsPlugin extends Plugin { 24 24 JMenuItem SimplifyWay; 25 25 26 27 28 29 30 31 32 33 34 35 36 26 public UtilsPlugin() { 27 SimplifyWay = MainMenu.add(Main.main.menu.toolsMenu, new SimplifyWayAction()); 28 SimplifyWay.setEnabled(false); 29 } 30 31 @Override 32 public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame) { 33 if (oldFrame == null && newFrame != null) { 34 SimplifyWay.setEnabled(true); 35 } 36 } 37 37 }
Note:
See TracChangeset
for help on using the changeset viewer.