Changeset 22550 in osm for applications/editors/josm/plugins/openlayers
- Timestamp:
- 2010-08-03T08:21:38+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/openlayers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/openlayers/build.xml
r21706 r22550 33 33 <property name="commit.message" value="Changed the constructor signature of the plugin main class" /> 34 34 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 35 <property name="plugin.main.version" value=" 2830" />35 <property name="plugin.main.version" value="3408" /> 36 36 37 37 <property name="josm" location="../../core/dist/josm-custom.jar"/> … … 103 103 104 104 <!-- 105 ************************** Publishing the plugin *********************************** 105 ************************** Publishing the plugin *********************************** 106 106 --> 107 107 <!-- 108 ** extracts the JOSM release for the JOSM version in ../core and saves it in the 108 ** extracts the JOSM release for the JOSM version in ../core and saves it in the 109 109 ** property ${coreversion.info.entry.revision} 110 110 ** … … 155 155 156 156 <!-- 157 ** commits the plugin.jar 157 ** commits the plugin.jar 158 158 --> 159 159 <target name="commit-dist"> 160 160 <echo> 161 161 ***** Properties of published ${plugin.jar} ***** 162 Commit message : '${commit.message}' 162 Commit message : '${commit.message}' 163 163 Plugin-Mainversion: ${plugin.main.version} 164 164 JOSM build version: ${coreversion.info.entry.revision} 165 165 Plugin-Version : ${version.entry.commit.revision} 166 ***** / Properties of published ${plugin.jar} ***** 167 166 ***** / Properties of published ${plugin.jar} ***** 167 168 168 Now commiting ${plugin.jar} ... 169 169 </echo> … … 197 197 </fail> 198 198 </target> 199 199 200 200 <target name="publish" depends="ensure-svn-present,core-info,commit-current,update-current,clean,dist,commit-dist"> 201 201 </target> -
applications/editors/josm/plugins/openlayers/src/org/openstreetmap/josm/plugins/openLayers/OpenLayersLayer.java
r19050 r22550 1 1 package org.openstreetmap.josm.plugins.openLayers; 2 2 3 import java.awt.Component;4 3 import java.awt.Dimension; 5 4 import java.awt.Graphics2D; … … 7 6 import java.beans.PropertyChangeListener; 8 7 8 import javax.swing.Action; 9 9 import javax.swing.Icon; 10 import javax.swing.JMenuItem;11 import javax.swing.JSeparator;12 10 13 11 import org.mozilla.javascript.NativeArray; … … 77 75 78 76 @Override 79 public Component[] getMenuEntries() {80 return new Component[] {81 new JMenuItem(LayerListDialog.getInstance().createShowHideLayerAction(this)),82 new JMenuItem(LayerListDialog.getInstance().createDeleteLayerAction(this)),83 new JSeparator(),77 public Action[] getMenuEntries() { 78 return new Action[] { 79 LayerListDialog.getInstance().createShowHideLayerAction(), 80 LayerListDialog.getInstance().createDeleteLayerAction(), 81 SeparatorLayerAction.INSTANCE, 84 82 // color, 85 new JMenuItem(newRenameLayerAction(getAssociatedFile(), this)),86 new JSeparator(),87 new JMenuItem(newLayerListPopup.InfoAction(this)) };83 new RenameLayerAction(getAssociatedFile(), this), 84 SeparatorLayerAction.INSTANCE, 85 new LayerListPopup.InfoAction(this) }; 88 86 } 89 87
Note:
See TracChangeset
for help on using the changeset viewer.