Ignore:
Timestamp:
2009-07-21T20:29:20+02:00 (15 years ago)
Author:
jttt
Message:

Make it work without Main.ds

Location:
applications/editors/josm/plugins/Create_grid_of_ways
Files:
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/Create_grid_of_ways

    • Property svn:ignore
      •  

        old new  
        11build
         2
         3bin
  • applications/editors/josm/plugins/Create_grid_of_ways/.classpath

    r14370 r16620  
    11<?xml version="1.0" encoding="UTF-8"?>
    22<classpath>
    3         <classpathentry kind="src" output="build" path="src"/>
    4         <classpathentry kind="var" path="JRE_LIB" rootpath="JRE_SRCROOT" sourcepath="JRE_SRC"/>
    5         <classpathentry kind="lib" path="/home/chamorro/workspace/JOSM/dist/josm-custom.jar" sourcepath="/JOSM"/>
     3        <classpathentry kind="src" path="src"/>
     4        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
     5        <classpathentry combineaccessrules="false" kind="src" path="/JOSM"/>
    66        <classpathentry kind="output" path="bin"/>
    77</classpath>
  • applications/editors/josm/plugins/Create_grid_of_ways/.project

    r14370 r16620  
    11<?xml version="1.0" encoding="UTF-8"?>
    22<projectDescription>
    3         <name>Create_grid_of_ways</name>
     3        <name>JOSM-create_grid_of_ways</name>
    44        <comment></comment>
    55        <projects>
     
    1515                <nature>org.eclipse.jdt.core.javanature</nature>
    1616        </natures>
    17         <linkedResources>
    18                 <link>
    19                         <name>build</name>
    20                         <type>2</type>
    21                         <location>/home/chamorro/workspace/Create_grid_of_ways/build</location>
    22                 </link>
    23                 <link>
    24                         <name>src</name>
    25                         <type>2</type>
    26                         <location>/home/chamorro/workspace/Create_grid_of_ways/src</location>
    27                 </link>
    28         </linkedResources>
    2917</projectDescription>
  • applications/editors/josm/plugins/Create_grid_of_ways/build.xml

    r16290 r16620  
    2626                <attribute name="Plugin-Description" value="Create a grid of ways."/>
    2727                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/Create_grid_of_ways"/>
    28                 <attribute name="Plugin-Mainversion" value="1722"/>
     28                <attribute name="Plugin-Mainversion" value="1815"/>
    2929                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    3030            </manifest>
  • applications/editors/josm/plugins/Create_grid_of_ways/src/CreateGridOfWaysPlugin/CreateGridOfWaysAction.java

    r16290 r16620  
    77import java.util.Collection;
    88import java.util.LinkedList;
     9
    910import javax.swing.JOptionPane;
    1011
     
    1415import org.openstreetmap.josm.command.Command;
    1516import org.openstreetmap.josm.command.SequenceCommand;
     17import org.openstreetmap.josm.data.coor.LatLon;
    1618import org.openstreetmap.josm.data.osm.Node;
    1719import org.openstreetmap.josm.data.osm.OsmPrimitive;
    1820import org.openstreetmap.josm.data.osm.Way;
    1921import org.openstreetmap.josm.tools.Shortcut;
    20 import org.openstreetmap.josm.data.coor.LatLon;
    2122
    2223/**
     
    4647     */
    4748    public void actionPerformed(ActionEvent e) {
    48         Collection<OsmPrimitive> sel = Main.ds.getSelected();
     49        Collection<OsmPrimitive> sel = Main.main.getCurrentDataSet().getSelected();
    4950        Collection<Node> nodesWay1 = new LinkedList<Node>();
    5051        Collection<Node> nodesWay2 = new LinkedList<Node>();
Note: See TracChangeset for help on using the changeset viewer.