Changeset 22547 in osm for applications/editors/josm/plugins/graphview
- Timestamp:
- 2010-08-03T08:11:51+02:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/graphview
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/graphview/build.xml
r21706 r22547 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 … … 26 26 --> 27 27 <project name="graphview" default="dist" basedir="."> 28 28 29 29 <property name="commit.message" value="prevent stack overflows; closes bug 4695 in JOSM Trac" /> 30 <property name="plugin.main.version" value="3 314" />31 30 <property name="plugin.main.version" value="3408" /> 31 32 32 <property name="josm" location="../../core/dist/josm-custom.jar"/> 33 33 <property name="plugin.build.dir" value="build"/> … … 136 136 <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/> 137 137 </target> 138 139 138 139 140 140 <!-- 141 ************************** Publishing the plugin *********************************** 142 --> 143 <!-- 144 ** extracts the JOSM release for the JOSM version in ../core and saves it in the 141 ************************** Publishing the plugin *********************************** 142 --> 143 <!-- 144 ** extracts the JOSM release for the JOSM version in ../core and saves it in the 145 145 ** property ${coreversion.info.entry.revision} 146 146 ** … … 191 191 192 192 <!-- 193 ** commits the plugin.jar 193 ** commits the plugin.jar 194 194 --> 195 195 <target name="commit-dist"> 196 196 <echo> 197 197 ***** Properties of published ${plugin.jar} ***** 198 Commit message : '${commit.message}' 198 Commit message : '${commit.message}' 199 199 Plugin-Mainversion: ${plugin.main.version} 200 200 JOSM build version: ${coreversion.info.entry.revision} 201 201 Plugin-Version : ${version.entry.commit.revision} 202 ***** / Properties of published ${plugin.jar} ***** 203 202 ***** / Properties of published ${plugin.jar} ***** 203 204 204 Now commiting ${plugin.jar} ... 205 205 </echo> -
applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/plugin/layer/GraphViewLayer.java
r19054 r22547 3 3 import java.awt.BasicStroke; 4 4 import java.awt.Color; 5 import java.awt.Component;6 5 import java.awt.Graphics; 7 6 import java.awt.Graphics2D; … … 13 12 import java.util.List; 14 13 14 import javax.swing.Action; 15 15 import javax.swing.Icon; 16 import javax.swing.JMenuItem;17 import javax.swing.JSeparator;18 16 19 17 import org.openstreetmap.josm.Main; … … 324 322 325 323 @Override 326 public Component[] getMenuEntries() { 327 return new Component[] { new JMenuItem(LayerListDialog.getInstance().createShowHideLayerAction(this)), 328 new JMenuItem(LayerListDialog.getInstance().createDeleteLayerAction(this)), new JSeparator(), 329 new JMenuItem(new RenameLayerAction(null, this)), new JSeparator(), 330 new JMenuItem(new LayerListPopup.InfoAction(this)) }; 324 public Action[] getMenuEntries() { 325 return new Action[] { 326 LayerListDialog.getInstance().createShowHideLayerAction(), 327 LayerListDialog.getInstance().createDeleteLayerAction(), 328 SeparatorLayerAction.INSTANCE, 329 new RenameLayerAction(null, this), 330 SeparatorLayerAction.INSTANCE, 331 new LayerListPopup.InfoAction(this)}; 331 332 } 332 333
Note:
See TracChangeset
for help on using the changeset viewer.