Changeset 24574 in osm for applications/editors/josm/plugins/smed
- Timestamp:
- 2010-12-04T12:49:22+01:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/smed
- Files:
-
- 4 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/plugs/harbour/src/harbour/dialogs/HarbourAction.java
r24559 r24574 1 1 package harbour.dialogs; 2 2 3 import harbour.layers.LayerHarbour; 3 4 import harbour.panels.*; 4 5 … … 59 60 private JToggleButton chartButton = null; 60 61 private JPanel curPanel = null; 62 private static LayerHarbour curLayer = new LayerHarbour("Harbour"); 61 63 62 64 public HarbourAction() { … … 146 148 harbourPanel.add(getQueryjButton(), null); 147 149 harbourPanel.add(getChartButton(), null); 150 151 comButton.setEnabled(false); 148 152 } 149 153 return harbourPanel; … … 171 175 panelGeneral.setVisible(true); 172 176 chartButton.setEnabled(false); 177 178 comButton.setEnabled(false); 179 restButton.setEnabled(true); 180 servButton.setEnabled(true); 181 envButton.setEnabled(true); 182 relButton.setEnabled(true); 183 184 Main.main.removeLayer(curLayer); 173 185 curPanel = panelGeneral; 174 186 } … … 197 209 panelLimits.setVisible(true); 198 210 chartButton.setEnabled(false); 211 212 comButton.setEnabled(true); 213 restButton.setEnabled(false); 214 servButton.setEnabled(true); 215 envButton.setEnabled(true); 216 relButton.setEnabled(true); 217 218 Main.main.removeLayer(curLayer); 199 219 curPanel = panelLimits; 200 220 } … … 223 243 panelServices.setVisible(true); 224 244 chartButton.setEnabled(false); 245 246 comButton.setEnabled(true); 247 restButton.setEnabled(true); 248 servButton.setEnabled(false); 249 envButton.setEnabled(true); 250 relButton.setEnabled(true); 251 252 253 Main.main.removeLayer(curLayer); 225 254 curPanel = panelServices; 226 255 } … … 249 278 panelEnv.setVisible(true); 250 279 chartButton.setEnabled(true); 280 281 comButton.setEnabled(true); 282 restButton.setEnabled(true); 283 servButton.setEnabled(true); 284 envButton.setEnabled(false); 285 relButton.setEnabled(true); 286 287 Main.main.addLayer(curLayer); 251 288 curPanel = panelEnv; 252 289 } … … 275 312 panelRelations.setVisible(true); 276 313 chartButton.setEnabled(true); 314 315 comButton.setEnabled(true); 316 restButton.setEnabled(true); 317 servButton.setEnabled(true); 318 envButton.setEnabled(true); 319 relButton.setEnabled(false); 320 321 Main.main.removeLayer(curLayer); 277 322 curPanel = panelRelations; 278 323 } -
applications/editors/josm/plugins/smed/plugs/harbour/src/harbour/panels/PanelServices.java
r24540 r24574 152 152 airLabel = new JLabel(); 153 153 airLabel.setBounds(new Rectangle(215, 26, 20, 20)); 154 // airLabel.setText("JLabel");155 154 airLabel.setIcon(new ImageIcon(getClass().getResource("/images/Airplane_20x19.png"))); 156 155 infraLabel = new JLabel(); 157 156 infraLabel.setBounds(new Rectangle(5, 26, 20, 20)); 158 // infraLabel.setText("JLabel");159 157 infraLabel.setIcon(new ImageIcon(getClass().getResource("/images/Bahn_20x16.png"))); 160 158 raPicLabel = new JLabel(); 161 159 raPicLabel.setBounds(new Rectangle(5, 2, 20, 20)); 162 // raPicLabel.setText("\"\"");163 160 raPicLabel.setIcon(new ImageIcon(getClass().getResource("/images/Telefon_14x20.png"))); 164 161 this.setSize(330, 270);
Note:
See TracChangeset
for help on using the changeset viewer.