Last change
on this file since 7509 was 6986, checked in by Don-vip, 10 years ago |
sonar - fix various minor issues
|
File size:
589 bytes
|
Line | |
---|
1 | // License: GPL. See LICENSE file for details.
|
---|
2 | package org.openstreetmap.josm.gui;
|
---|
3 |
|
---|
4 | /**
|
---|
5 | * Listener notified of MapFrame changes.
|
---|
6 | * @since 5957
|
---|
7 | */
|
---|
8 | public interface MapFrameListener {
|
---|
9 |
|
---|
10 | /**
|
---|
11 | * Called after Main.mapFrame is initalized. (After the first data is loaded).
|
---|
12 | * You can use this callback to tweak the newFrame to your needs, as example install
|
---|
13 | * an alternative Painter.
|
---|
14 | * @param oldFrame The old MapFrame
|
---|
15 | * @param newFrame The new MapFrame
|
---|
16 | */
|
---|
17 | public abstract void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame);
|
---|
18 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.