Changeset 30701 in osm for applications/editors/josm/plugins/OsmInspectorPlugin/src
- Timestamp:
- 2014-10-04T17:28:45+02:00 (11 years ago)
- Location:
- applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/GeoFabrikWFSClient.java
r28935 r30701 30 30 public class GeoFabrikWFSClient { 31 31 32 private Bounds bbox; 32 //private Bounds bbox; 33 33 private DataStore data; 34 34 private boolean bInitialized = false; 35 35 36 36 public GeoFabrikWFSClient(Bounds bounds) { 37 bbox = bounds; 37 //bbox = bounds; 38 38 } 39 39 … … 124 124 * @param args 125 125 */ 126 @SuppressWarnings("deprecation")127 126 public static void main(String[] args) { 128 127 … … 154 153 // } 155 154 } 156 157 155 } -
applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/gui/OsmInspectorBugInfoDialog.java
r29448 r30701 24 24 ListSelectionListener, LayerChangeListener, MouseListener { 25 25 26 /** 27 * 28 */ 29 private static final long serialVersionUID = 7730268317164906579L; 30 private OsmInspectorLayer layer; 26 //private OsmInspectorLayer layer; 31 27 private JTextPane bugTextArea; 32 33 28 34 29 /** … … 42 37 bugTextArea.setText("This is a demo"); 43 38 this.add(bugTextArea); 44 45 39 } 46 47 40 48 41 public OsmInspectorBugInfoDialog(OsmInspectorLayer layer) { … … 55 48 true // default is "show dialog" 56 49 ); 57 this.layer = layer; 50 //this.layer = layer; 58 51 buildContentPanel(); 59 52 } 60 53 61 54 public void updateDialog(OsmInspectorLayer l) { 62 this.layer = l; 55 //this.layer = l; 63 56 } 64 57 … … 67 60 } 68 61 69 @Override 62 /*@Override 70 63 public void showNotify() { 71 64 super.showNotify(); 72 } 65 }*/ 73 66 74 67 @Override 75 68 public void hideNotify() { 76 69 if (dialogsPanel != null) { 77 // TODO Auto-generated method stub78 70 super.hideNotify(); 79 71 } 80 72 } 81 73 82 83 74 @Override 84 75 public void mouseClicked(MouseEvent e) { 85 // TODO Auto-generated method stub86 87 76 } 88 77 89 78 @Override 90 79 public void mouseEntered(MouseEvent e) { 91 // TODO Auto-generated method stub92 93 80 } 94 81 95 82 @Override 96 83 public void mouseExited(MouseEvent e) { 97 // TODO Auto-generated method stub98 99 84 } 100 85 101 86 @Override 102 87 public void mousePressed(MouseEvent e) { 103 // TODO Auto-generated method stub104 105 88 } 106 89 107 90 @Override 108 91 public void mouseReleased(MouseEvent e) { 109 // TODO Auto-generated method stub110 111 92 } 112 93 113 94 @Override 114 95 public void activeLayerChange(Layer oldLayer, Layer newLayer) { 115 if(newLayer instanceof OsmInspectorLayer) { 96 /*if(newLayer instanceof OsmInspectorLayer) { 116 97 this.layer = (OsmInspectorLayer) newLayer; 117 } 118 98 }*/ 119 99 } 120 100 … … 129 109 @Override 130 110 public void valueChanged(ListSelectionEvent e) { 131 System.out.println(e.getFirstIndex()); 111 //System.out.println(e.getFirstIndex()); 132 112 } 133 134 113 }
Note:
See TracChangeset
for help on using the changeset viewer.