Changeset 32395 in osm for applications/editors/josm/plugins/reltoolbox/src/relcontext/RelContextPlugin.java
- Timestamp:
- 2016-06-24T09:10:57+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified applications/editors/josm/plugins/reltoolbox/src/relcontext/RelContextPlugin.java ¶
r30841 r32395 1 // License: GPL. For details, see LICENSE file. 1 2 package relcontext; 2 3 … … 9 10 private RelContextDialog dialog; 10 11 11 public RelContextPlugin( PluginInformation info) {12 public RelContextPlugin(PluginInformation info) { 12 13 super(info); 13 DefaultNameFormatter.registerFormatHook(new ExtraNameFormatHook()); 14 DefaultNameFormatter.registerFormatHook(new ExtraNameFormatHook()); 14 15 } 15 16 16 17 @Override 17 public void mapFrameInitialized( MapFrame oldFrame, MapFrame newFrame) {18 if (oldFrame == null && newFrame != null) {19 // if (dialog!=null) dialog.destroy(); 18 public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame) { 19 if (oldFrame == null && newFrame != null) { 20 // if (dialog!=null) dialog.destroy(); 20 21 dialog = new RelContextDialog(); 21 22 newFrame.addToggleDialog(dialog);
Note:
See TracChangeset
for help on using the changeset viewer.
