Ignore:
Timestamp:
2009-05-03T19:11:31+02:00 (15 years ago)
Author:
jvidal
Message:
 
Location:
applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing/RoutingLayer.java

    r14423 r14884  
    3737import java.util.ArrayList;
    3838import java.util.Collection;
    39 import java.util.LinkedList;
    4039import java.util.List;
    41 import java.util.TreeMap;
    4240
    4341import javax.swing.Icon;
     
    9795    private OsmDataLayer dataLayer;
    9896
    99 //    /**
    100 //     * Flag that manager activation layer
    101 //     */
    102 //    private boolean layerAdded = false;
    103 
    10497    /**
    10598     * Default constructor
     
    158151        return nearest;
    159152    }
    160 
    161 //      /**
    162 //       * Check if layer is load.
    163 //       * @return <code>true</code> Layer load.
    164 //       *         <code>false</code> Layer don't load.
    165 //       */
    166 //      public boolean isLayerAdded() {
    167 //              return layerAdded;
    168 //      }
    169 //
    170 //      /**
    171 //       * Setter layer active.
    172 //       */
    173 //      public void setLayerAdded() {
    174 //              layerAdded = true;
    175 //      }
    176153
    177154        /*
  • applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing/RoutingModel.java

    r14404 r14884  
    5656     * Graph to calculate route
    5757     */
    58         public RoutingGraph routingGraph;
     58        public RoutingGraph routingGraph=null;
    5959
    6060    /**
    6161     * List of nodes that the route has to traverse
    6262     */
    63     private List<Node> nodes;
     63    private List<Node> nodes=null;
    6464
    6565    private List<OsmEdge> path=null;
  • applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing/RoutingPlugin.java

    r14423 r14884  
    2525 *
    2626 */
    27 /*
    28  * Christof Dallermassl
    29  * christof@dallermassl.at
    30  */
     27
    3128
    3229package com.innovant.josm.plugin.routing;
     
    3431import static org.openstreetmap.josm.tools.I18n.tr;
    3532
    36 import java.lang.reflect.Array;
    3733import java.util.ArrayList;
    3834
     
    223219                        // Set layer on top and select layer, also refresh toggleDialog to reflect selection
    224220                        Main.map.mapView.moveLayer(newLayer, 0);
    225 //                      Main.map.mapView.setActiveLayer(newLayer);
    226 //                      Main.map.toggleDialogs.repaint();
    227221                        logger.debug("Added routing layer.");
    228222                }
Note: See TracChangeset for help on using the changeset viewer.