Changeset 22548 in osm for applications/editors/josm/plugins/editgpx
- Timestamp:
- 2010-08-03T08:13:23+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/editgpx
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/editgpx/build.xml
r21706 r22548 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 … … 29 29 30 30 <property name="commit.message" value="Changed constructor signature of plugin main class" /> 31 <property name="plugin.main.version" value=" 2907" />31 <property name="plugin.main.version" value="3408" /> 32 32 33 33 … … 89 89 90 90 <!-- 91 ************************** Publishing the plugin *********************************** 91 ************************** Publishing the plugin *********************************** 92 92 --> 93 93 <!-- 94 ** extracts the JOSM release for the JOSM version in ../core and saves it in the 94 ** extracts the JOSM release for the JOSM version in ../core and saves it in the 95 95 ** property ${coreversion.info.entry.revision} 96 96 ** … … 141 141 142 142 <!-- 143 ** commits the plugin.jar 143 ** commits the plugin.jar 144 144 --> 145 145 <target name="commit-dist"> 146 146 <echo> 147 147 ***** Properties of published ${plugin.jar} ***** 148 Commit message : '${commit.message}' 148 Commit message : '${commit.message}' 149 149 Plugin-Mainversion: ${plugin.main.version} 150 150 JOSM build version: ${coreversion.info.entry.revision} 151 151 Plugin-Version : ${version.entry.commit.revision} 152 ***** / Properties of published ${plugin.jar} ***** 153 152 ***** / Properties of published ${plugin.jar} ***** 153 154 154 Now commiting ${plugin.jar} ... 155 155 </echo> -
applications/editors/josm/plugins/editgpx/src/org/openstreetmap/josm/plugins/editgpx/EditGpxLayer.java
r21582 r22548 7 7 8 8 import java.awt.Color; 9 import java.awt.Component;10 9 import java.awt.Graphics2D; 11 10 import java.awt.Point; … … 14 13 15 14 import javax.swing.AbstractAction; 15 import javax.swing.Action; 16 16 import javax.swing.Icon; 17 17 import javax.swing.ImageIcon; 18 import javax.swing.JMenuItem;19 import javax.swing.JSeparator;20 18 21 19 import org.openstreetmap.josm.Main; … … 73 71 74 72 @Override 75 public Component[] getMenuEntries() {76 return new Component[] {77 new JMenuItem(LayerListDialog.getInstance().createShowHideLayerAction(this)),78 new JMenuItem(LayerListDialog.getInstance().createDeleteLayerAction(this)),79 new JSeparator(),80 new JMenuItem(layerImport),81 new JMenuItem(newConvertToGpxLayerAction()),82 new JMenuItem(newConvertToAnonTimeGpxLayerAction()),83 new JSeparator(),84 new JMenuItem(newLayerListPopup.InfoAction(this))};73 public Action[] getMenuEntries() { 74 return new Action[] { 75 LayerListDialog.getInstance().createShowHideLayerAction(), 76 LayerListDialog.getInstance().createDeleteLayerAction(), 77 SeparatorLayerAction.INSTANCE, 78 layerImport, 79 new ConvertToGpxLayerAction(), 80 new ConvertToAnonTimeGpxLayerAction(), 81 SeparatorLayerAction.INSTANCE, 82 new LayerListPopup.InfoAction(this)}; 85 83 } 86 84 -
applications/editors/josm/plugins/editgpx/src/org/openstreetmap/josm/plugins/editgpx/EditGpxPlugin.java
r21474 r22548 25 25 * TODO: 26 26 * - BUG: when importing eGpxLayer is shown as RawGpxLayer?? 27 * - BUG: after deletion of layer not all data is deleted (eg dataset)28 27 * - implement reset if user made mistake while marking 29 28 *
Note:
See TracChangeset
for help on using the changeset viewer.