Changeset 22549 in osm for applications/editors/josm/plugins/walkingpapers
- Timestamp:
- 2010-08-03T08:17:26+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/walkingpapers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/walkingpapers/build.xml
r21706 r22549 14 14 ** 15 15 ** To build against the core in ../../core, create a correct manifest and deploy to 16 ** SVN, 16 ** SVN, 17 17 ** set the properties commit.message and plugin.main.version 18 18 ** and run … … 23 23 <project name="walkingpapers" default="dist" basedir="."> 24 24 25 <!-- 26 ** update before publishing 25 <!-- 26 ** update before publishing 27 27 --> 28 28 <property name="commit.message" value="Changed the constructor signature of the plugin main class" /> 29 <property name="plugin.main.version" value=" 2830" />29 <property name="plugin.main.version" value="3408" /> 30 30 31 31 32 32 <property name="josm" location="../../core/dist/josm-custom.jar"/> 33 33 <property name="plugin.dist.dir" value="../../dist"/> … … 87 87 88 88 <!-- 89 ************************** Publishing the plugin *********************************** 89 ************************** Publishing the plugin *********************************** 90 90 --> 91 91 <!-- 92 ** extracts the JOSM release for the JOSM version in ../core and saves it in the 92 ** extracts the JOSM release for the JOSM version in ../core and saves it in the 93 93 ** property ${coreversion.info.entry.revision} 94 94 ** … … 139 139 140 140 <!-- 141 ** commits the plugin.jar 141 ** commits the plugin.jar 142 142 --> 143 143 <target name="commit-dist"> 144 144 <echo> 145 145 ***** Properties of published ${plugin.jar} ***** 146 Commit message : '${commit.message}' 146 Commit message : '${commit.message}' 147 147 Plugin-Mainversion: ${plugin.main.version} 148 148 JOSM build version: ${coreversion.info.entry.revision} 149 149 Plugin-Version : ${version.entry.commit.revision} 150 ***** / Properties of published ${plugin.jar} ***** 151 150 ***** / Properties of published ${plugin.jar} ***** 151 152 152 Now commiting ${plugin.jar} ... 153 153 </echo> -
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(newLayerListPopup.InfoAction(this)) };356 SeparatorLayerAction.INSTANCE, 357 new LayerListPopup.InfoAction(this) }; 360 358 } 361 359
Note:
See TracChangeset
for help on using the changeset viewer.