Changeset 26573 in osm for applications/editors
- Timestamp:
- 2011-08-25T20:25:19+02:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/smed/plugs/oseam/src
- Files:
-
- 8 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/msg/messages.properties
r26173 r26573 88 88 Range=Range 89 89 Category=Category 90 SSCategory=Signal Station 91 UKCategory=Unknown Category 90 92 NoneSpecified=None specified 91 93 Vert2=Vertically disposed x2 92 94 Visibility=Visibility 93 Intensified= intensified94 Unintensified= unintensified95 Intensified=Intensified 96 Unintensified=Unintensified 95 97 PartiallyObscured=Partially obscured 96 98 Orientation=Orientation 97 99 Exhibition=Exhibition 98 100 24h=24h 99 Day= day100 Night= night101 Fog= fog101 Day=Day 102 Night=Night 103 Fog=Fog 102 104 103 105 NoColour=No colour … … 111 113 Violet=Violet 112 114 Black=Black 115 Grey=Grey 116 Brown=Brown 117 Magenta=Magenta 118 Pink=Pink 119 120 Lock=Lock 121 Storm=Storm 122 -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelHaz.java
r26572 r26573 111 111 button.setBorderPainted(false); 112 112 } 113 if (dlg.mark != null) 113 if (dlg.mark != null) { 114 dlg.panelMain.moreButton.setVisible(true); 114 115 dlg.mark.paintSign(); 116 } 115 117 } 116 118 }; -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelLights.java
r26572 r26573 62 62 warningCatBox.setVisible(false); 63 63 } 64 if (dlg.mark != null) 64 if (dlg.mark != null) { 65 dlg.panelMain.moreButton.setVisible(true); 65 66 dlg.mark.paintSign(); 67 } 66 68 } 67 69 }; … … 87 89 this.add(trafficCatBox, null); 88 90 trafficCatBox.addActionListener(alTrafficCatBox); 89 trafficCatBox.addItem(Messages.getString(" NoneSpecified"));91 trafficCatBox.addItem(Messages.getString("UKCategory")); 90 92 trafficCatBox.addItem(Messages.getString("Lock")); 91 93 trafficCatBox.setVisible(false); … … 95 97 this.add(warningCatBox, null); 96 98 warningCatBox.addActionListener(alWarningCatBox); 97 warningCatBox.addItem(Messages.getString(" NoneSpecified"));99 warningCatBox.addItem(Messages.getString("UKCategory")); 98 100 warningCatBox.addItem(Messages.getString("Storm")); 99 101 warningCatBox.setVisible(false); -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelMain.java
r26572 r26573 23 23 private JButton saveButton = null; 24 24 private ActionListener alSave = null; 25 p rivateJButton moreButton = null;25 public JButton moreButton = null; 26 26 private ActionListener alMore = null; 27 27 public ButtonGroup typeButtons = null; … … 103 103 this.add(panelSpec, null); 104 104 this.add(panelLights, null); 105 this.add(panelMore, null); 105 106 this.add(panelTop, null); 106 107 this.add(panelFog, null); … … 304 305 public void clearSelections() { 305 306 typeButtons.clearSelection(); 307 moreButton.setVisible(false); 306 308 alType.actionPerformed(null); 307 309 nameBox.setText(""); -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelPort.java
r26572 r26573 89 89 button.setBorderPainted(false); 90 90 } 91 if (dlg.mark != null) 91 if (dlg.mark != null) { 92 dlg.panelMain.moreButton.setVisible(true); 92 93 dlg.mark.paintSign(); 94 } 93 95 } 94 96 }; -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelSpec.java
r26562 r26573 51 51 button.setBorderPainted(false); 52 52 } 53 if (dlg.mark != null) 53 if (dlg.mark != null) { 54 dlg.panelMain.moreButton.setVisible(true); 54 55 dlg.mark.paintSign(); 56 } 55 57 } 56 58 }; -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelStbd.java
r26572 r26573 89 89 button.setBorderPainted(false); 90 90 } 91 if (dlg.mark != null) 91 if (dlg.mark != null) { 92 dlg.panelMain.moreButton.setVisible(true); 92 93 dlg.mark.paintSign(); 94 } 93 95 } 94 96 }; -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelTop.java
r26561 r26573 15 15 public PanelCol panelCol = null; 16 16 private ButtonGroup topButtons = new ButtonGroup(); 17 public JRadioButton noTopButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/No TopButton.png")));17 public JRadioButton noTopButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/NoneButton.png"))); 18 18 public JRadioButton canTopButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/CanTopButton.png"))); 19 19 public JRadioButton coneTopButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/ConeTopButton.png")));
Note:
See TracChangeset
for help on using the changeset viewer.