Changeset 28568 in osm for applications/editors/josm/plugins/routing
- Timestamp:
- 2012-08-18T20:23:57+02:00 (12 years ago)
- Location:
- applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing/RoutingPlugin.java
r28138 r28568 30 30 import static org.openstreetmap.josm.tools.I18n.tr; 31 31 32 import java.io.File; 32 33 import java.util.ArrayList; 33 34 … … 138 139 datasetAdapter = new DataSetListenerAdapter(this); 139 140 plugin = this; // Assign reference to the plugin class 140 if (new java.io.File("log4j.xml").exists()) { 141 DOMConfigurator.configure("log4j.xml"); 141 File log4jConfigFile = new java.io.File("log4j.xml"); 142 if (log4jConfigFile.exists()) { 143 DOMConfigurator.configure(log4jConfigFile.getPath()); 142 144 } else { 143 145 System.err.println("Routing plugin warning: log4j configuration not found"); -
applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing/gui/RoutingMenu.java
r28138 r28568 72 72 73 73 /** 74 * @param s75 74 */ 76 75 public RoutingMenu() { … … 194 193 clearMI.setEnabled(false); 195 194 criteriaM.setEnabled(false); 195 regraphMI.setEnabled(false); 196 196 } 197 197 … … 204 204 clearMI.setEnabled(true); 205 205 criteriaM.setEnabled(true); 206 regraphMI.setEnabled(true); 206 207 } 207 208 … … 210 211 clearMI.setEnabled(false); 211 212 criteriaM.setEnabled(false); 213 regraphMI.setEnabled(false); 212 214 } 213 215 }
Note:
See TracChangeset
for help on using the changeset viewer.