Changeset 22549 in osm for applications/editors/josm/plugins/walkingpapers/src/org
- Timestamp:
- 2010-08-03T08:17:26+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/walkingpapers/src/org/openstreetmap/josm/plugins/walkingpapers/WalkingPapersLayer.java
r19074 r22549 4 4 5 5 import java.awt.Color; 6 import java.awt.Component;7 6 import java.awt.Graphics2D; 8 7 import java.awt.Image; … … 14 13 import java.util.TreeSet; 15 14 15 import javax.swing.Action; 16 16 import javax.swing.Icon; 17 import javax.swing.JMenuItem;18 import javax.swing.JSeparator;19 17 20 18 import org.openstreetmap.josm.Main; … … 119 117 } 120 118 121 class TileTimeComp implements Comparator<WalkingPapersTile> {119 static class TileTimeComp implements Comparator<WalkingPapersTile> { 122 120 public int compare(WalkingPapersTile s1, WalkingPapersTile s2) { 123 121 long t1 = s1.access_time(); … … 349 347 350 348 @Override 351 public Component[] getMenuEntries() {352 return new Component[] {353 new JMenuItem(LayerListDialog.getInstance().createShowHideLayerAction(this)),354 new JMenuItem(LayerListDialog.getInstance().createDeleteLayerAction(this)),355 new JSeparator(),349 public Action[] getMenuEntries() { 350 return new Action[] { 351 LayerListDialog.getInstance().createShowHideLayerAction(), 352 LayerListDialog.getInstance().createDeleteLayerAction(), 353 SeparatorLayerAction.INSTANCE, 356 354 // color, 357 355 // new JMenuItem(new RenameLayerAction(associatedFile, this)), 358 new JSeparator(),359 new JMenuItem(new LayerListPopup.InfoAction(this)) };356 SeparatorLayerAction.INSTANCE, 357 new LayerListPopup.InfoAction(this) }; 360 358 } 361 359
Note:
See TracChangeset
for help on using the changeset viewer.