Changeset 30831 in osm for applications/editors/josm/plugins/pointInfo/src/org/openstreetmap
- Timestamp:
- 2014-11-30T23:32:03+01:00 (10 years ago)
- Location:
- applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/PointInfoAction.java
r30466 r30831 111 111 112 112 // Show result 113 System.out.println("htmlText: " + htmlText); 113 114 JEditorPane msgLabel = new JEditorPane("text/html", htmlText); 114 115 msgLabel.setEditable(false); -
applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/ruianModule.java
r30470 r30831 906 906 String icon_create_addr_ruian = "<img src=" +getClass().getResource("/images/dialogs/create-addr-ruian.png")+" border=0 alt=\"Zobrazit na stránkách RUIAN\"/>"; 907 907 908 String icon_ruian_error = "<img src=" +getClass().getResource("/images/dialogs/create-bug-report.png")+" border=0 alt=\"Nahlásit problém v datech\"/>"; 909 908 910 String url_cpost = "http://www.postaonline.cz/vyhledani-psc?p_p_id=psc_WAR_pcpvpp&p_p_lifecycle=1&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=1&_psc_WAR_pcpvpp_struts.portlet.action=%2Fview%2FdetailPost&_psc_WAR_pcpvpp_struts.portlet.mode=view&_psc_WAR_pcpvpp_zipCode="; 909 911 String url_stavebni_objekt = "http://vdp.cuzk.cz/vdp/ruian/stavebniobjekty/"; … … 918 920 String url_kraj = "http://vdp.cuzk.cz/vdp/ruian/vusc/"; 919 921 922 String url_ruian_error = "http://ruian.poloha.net/building.php?kod="; 923 920 924 StringBuilder r = new StringBuilder(); 921 925 … … 927 931 return ""; 928 932 929 r.append("<html> ");933 r.append("<html><body bgcolor=\"white\" color=\"black\" topmargin=\"2\" leftmargin=\"2\" >"); 930 934 r.append("<br/>"); 931 935 if (m_objekt_ruian_id > 0) { 932 936 r.append("<i><u>Informace o budově</u></i><br/>"); 933 937 r.append("<b>RUIAN id: </b>"+ m_objekt_ruian_id +" <a href="+ url_stavebni_objekt + m_objekt_ruian_id +">" + icon_ext_link + "</a>"); 934 r.append(" <a href=file://tags.copy/building>"+ icon_copy_tags +"</a><br/>"); 938 r.append(" <a href=file://tags.copy/building>"+ icon_copy_tags +"</a>"); 939 r.append(" <a href=" + url_ruian_error + m_objekt_ruian_id + ">"+ icon_ruian_error +"</a><br/>"); 935 940 if (m_adresni_mista.size() == 0 ) r.append("<b>Budova: </b> bez č.p./č.e<br/>"); 936 941 else if (m_adresni_mista.get(0).getCisloTyp().equals("Číslo popisné")) r.append("<b>Budova: </b>s číslem popisným<br/>"); … … 1137 1142 r.append("<hr/>"); 1138 1143 r.append("<center><i><small>Zdroj: <a href=\"http://www.ruian.cz/\">" + m_source + "</a></small></i></center>"); 1139 r.append("</ html>");1144 r.append("</body></html>"); 1140 1145 1141 1146 return r.toString();
Note:
See TracChangeset
for help on using the changeset viewer.