Changeset 4172 in josm for trunk/src/org/openstreetmap/josm/gui
- Timestamp:
- 2011-06-26T13:43:35+02:00 (13 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/ImageryMenu.java
r4143 r4172 70 70 Map_Rectifier_WMSmenuAction rectaction = new Map_Rectifier_WMSmenuAction(); 71 71 JosmAction blankmenu = new JosmAction( 72 tr("Blank Layer"), "blankmenu", tr("Open a blank WMS layer to load data from a file"), null, false) {72 tr("Blank Layer"), /* ICON */"blankmenu", tr("Open a blank WMS layer to load data from a file"), null, false) { 73 73 @Override 74 74 public void actionPerformed(ActionEvent ev) { -
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java
r4141 r4172 1158 1158 for (URI u : uris) { 1159 1159 conn = (HttpURLConnection) u.toURL().openConnection(); 1160 conn.setConnectTimeout( 5000);1160 conn.setConnectTimeout(Main.pref.getInteger("socket.timeout.connect",15)*1000); 1161 1161 1162 1162 if (conn.getResponseCode() != 200) { … … 1171 1171 .replaceFirst("/wiki/", "/w/index.php?redirect=no&title=") 1172 1172 ).toURL().openConnection(); 1173 conn.setConnectTimeout( 5000);1173 conn.setConnectTimeout(Main.pref.getInteger("socket.timeout.connect",15)*1000); 1174 1174 1175 1175 /* redirect pages have different content length, but retrieving a "nonredirect" -
trunk/src/org/openstreetmap/josm/gui/download/PlaceSelection.java
r3719 r4172 365 365 connection = (HttpURLConnection)url.openConnection(); 366 366 } 367 connection.setConnectTimeout( 15000);367 connection.setConnectTimeout(Main.pref.getInteger("socket.timeout.connect",15)*1000); 368 368 InputStream inputStream = connection.getInputStream(); 369 369 InputSource inputSource = new InputSource(new InputStreamReader(inputStream, "UTF-8")); -
trunk/src/org/openstreetmap/josm/gui/layer/markerlayer/Marker.java
r4135 r4172 179 179 this.offset = offset; 180 180 this.time = time; 181 // /* ICON(markers/) */"Bridge" 182 // /* ICON(markers/) */"Crossing" 181 183 this.symbol = ImageProvider.getIfAvailable("markers",iconName); 182 184 this.parentLayer = parentLayer; -
trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintStyles.java
r4007 r4172 84 84 if(i == null) 85 85 { 86 System.out.println("Mappaint style \""+namespace+"\" icon \"" + ref.iconName + "\" not found.");86 System.out.println("Mappaint style \""+namespace+"\" ("+ref.source.getDisplayString()+") icon \"" + ref.iconName + "\" not found."); 87 87 return null; 88 88 } -
trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java
r4170 r4172 88 88 89 89 public enum PresetType { 90 NODE( "Mf_node"), WAY("Mf_way"), RELATION("Mf_relation"), CLOSEDWAY("Mf_closedway");90 NODE(/* ICON */"Mf_node"), WAY(/* ICON */"Mf_way"), RELATION(/* ICON */"Mf_relation"), CLOSEDWAY(/* ICON */"Mf_closedway"); 91 91 92 92 private final String iconName;
Note:
See TracChangeset
for help on using the changeset viewer.