Changeset 5266 in josm for trunk/src/org/openstreetmap/josm/gui/layer/Layer.java
- Timestamp:
- 2012-06-03T16:41:25+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/Layer.java
r5048 r5266 239 239 /** 240 240 * Sets the visibility of this layer. Emits property change event for 241 * property {@ see#VISIBLE_PROP}.241 * property {@link #VISIBLE_PROP}. 242 242 * 243 243 * @param visible true, if the layer is visible; false, otherwise. … … 287 287 288 288 /** 289 * Adds a {@ seePropertyChangeListener}289 * Adds a {@link PropertyChangeListener} 290 290 * 291 291 * @param listener the listener … … 296 296 297 297 /** 298 * Removes a {@ seePropertyChangeListener}298 * Removes a {@link PropertyChangeListener} 299 299 * 300 300 * @param listener the listener … … 305 305 306 306 /** 307 * fires a property change for the property {@ see#VISIBLE_PROP}307 * fires a property change for the property {@link #VISIBLE_PROP} 308 308 * 309 309 * @param oldValue the old value … … 315 315 316 316 /** 317 * fires a property change for the property {@ see#OPACITY_PROP}317 * fires a property change for the property {@link #OPACITY_PROP} 318 318 * 319 319 * @param oldValue the old value … … 406 406 public void projectionChanged(Projection oldValue, Projection newValue) { 407 407 if(!isProjectionSupported(newValue)) { 408 409 tr("The layer {0} does not support the new projection {1}.\n{2}\n"410 + "Change the projection again or remove the layer.",411 getName(), newValue.toCode(), nameSupportedProjections()),412 tr("Warning"),413 JOptionPane.WARNING_MESSAGE);408 JOptionPane.showMessageDialog(Main.parent, 409 tr("The layer {0} does not support the new projection {1}.\n{2}\n" 410 + "Change the projection again or remove the layer.", 411 getName(), newValue.toCode(), nameSupportedProjections()), 412 tr("Warning"), 413 JOptionPane.WARNING_MESSAGE); 414 414 } 415 415 }
Note:
See TracChangeset
for help on using the changeset viewer.