Changeset 22550 in osm for applications/editors/josm/plugins/slippymap
- Timestamp:
- 2010-08-03T08:21:38+02:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/slippymap
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/slippymap/build.xml
r21706 r22550 18 18 ** 19 19 ** To build against the core in ../../core, create a correct manifest and deploy to 20 ** SVN, 20 ** SVN, 21 21 ** set the properties commit.message and plugin.main.version 22 22 ** and run … … 28 28 29 29 <property name="commit.message" value="Added haiti imagery tile source" /> 30 <property name="plugin.main.version" value=" 2830" />30 <property name="plugin.main.version" value="3408" /> 31 31 32 32 <property name="josm" location="../../core/dist/josm-custom.jar"/> … … 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> … … 184 184 <target name="publish" depends="ensure-svn-present,core-info,commit-current,update-current,clean,dist,commit-dist"> 185 185 </target> 186 186 187 187 <target name="dev-install"> 188 188 <copy file="${plugin.jar}" todir="c:/data/projekte/osm/josm-dev/plugins" /> -
applications/editors/josm/plugins/slippymap/src/org/openstreetmap/josm/plugins/slippymap/SlippyMapLayer.java
r21136 r22550 4 4 5 5 import java.awt.Color; 6 import java.awt.Component;7 6 import java.awt.Graphics; 8 7 import java.awt.Graphics2D; … … 21 20 22 21 import javax.swing.AbstractAction; 22 import javax.swing.Action; 23 23 import javax.swing.Icon; 24 24 import javax.swing.JCheckBoxMenuItem; 25 25 import javax.swing.JMenuItem; 26 26 import javax.swing.JPopupMenu; 27 import javax.swing.JSeparator;28 27 import javax.swing.SwingUtilities; 29 28 … … 44 43 import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor; 45 44 import org.openstreetmap.josm.gui.MapView; 45 import org.openstreetmap.josm.gui.MapView.LayerChangeListener; 46 46 import org.openstreetmap.josm.gui.dialogs.LayerListDialog; 47 47 import org.openstreetmap.josm.gui.dialogs.LayerListPopup; 48 48 import org.openstreetmap.josm.gui.layer.Layer; 49 49 import org.openstreetmap.josm.tools.ImageProvider; 50 import org.openstreetmap.josm.gui.MapView.LayerChangeListener;51 50 52 51 /** … … 993 992 994 993 @Override 995 public Component[] getMenuEntries() {996 return new Component[] {997 new JMenuItem(LayerListDialog.getInstance().createShowHideLayerAction(this)),998 new JMenuItem(LayerListDialog.getInstance().createDeleteLayerAction(this)),999 new JSeparator(),994 public Action[] getMenuEntries() { 995 return new Action[] { 996 LayerListDialog.getInstance().createShowHideLayerAction(), 997 LayerListDialog.getInstance().createDeleteLayerAction(), 998 SeparatorLayerAction.INSTANCE, 1000 999 // color, 1001 new JMenuItem(new RenameLayerAction(this.getAssociatedFile(), this)),1002 new JSeparator(),1003 new JMenuItem(new LayerListPopup.InfoAction(this)) };1000 new RenameLayerAction(this.getAssociatedFile(), this), 1001 SeparatorLayerAction.INSTANCE, 1002 new LayerListPopup.InfoAction(this) }; 1004 1003 } 1005 1004
Note:
See TracChangeset
for help on using the changeset viewer.