Changeset 34892 in osm for applications/editors/josm
- Timestamp:
- 2019-02-15T10:40:20+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/src/org/openstreetmap/josm/plugins/seamapeditor/panels/PanelSectors.java
r34589 r34892 111 111 colColumn.setCellEditor(new DefaultCellEditor(colourBox)); 112 112 113 TableColumn visColumn = table.getColumnModel().getColumn(1 2);113 TableColumn visColumn = table.getColumnModel().getColumn(11); 114 114 visibilityBox = new JComboBox<>(); 115 115 addVisibItem("", Vis.UNKVIS); … … 119 119 visColumn.setCellEditor(new DefaultCellEditor(visibilityBox)); 120 120 121 TableColumn exhColumn = table.getColumnModel().getColumn(1 3);121 TableColumn exhColumn = table.getColumnModel().getColumn(12); 122 122 exhibitionBox = new JComboBox<>(); 123 123 addExhibItem("", Exh.UNKEXH); … … 133 133 private String[] headings = {Messages.getString("Sector"), Messages.getString("Colour"), Messages.getString("Character"), 134 134 Messages.getString("Group"), Messages.getString("Sequence"), Messages.getString("Period"), Messages.getString("Directional"), 135 Messages.getString("Start"), Messages.getString("End"), Messages.getString(" Radius"), Messages.getString("Height"),135 Messages.getString("Start"), Messages.getString("End"), Messages.getString("Height"), 136 136 Messages.getString("Range"), Messages.getString("Visibility"), Messages.getString("Exhibition") }; 137 137 … … 198 198 else 199 199 return SmedAction.panelMain.mark.getLightAtt(col - 1, row); 200 case 11: 201 return visibilities.get(SmedAction.panelMain.mark.getLightAtt(Att.VIS, row)); 200 202 case 12: 201 return visibilities.get(SmedAction.panelMain.mark.getLightAtt(Att.VIS, row));202 case 13:203 203 return exhibitions.get(SmedAction.panelMain.mark.getLightAtt(Att.EXH, row)); 204 204 default: … … 229 229 case 9: 230 230 case 10: 231 case 11:232 231 SmedAction.panelMain.mark.setLightAtt(col - 1, row, value); 233 232 break; … … 250 249 } 251 250 break; 252 case 1 2:251 case 11: 253 252 for (Vis vis : visibilities.keySet()) { 254 253 String str = visibilities.get(vis); … … 258 257 } 259 258 break; 260 case 1 3:259 case 12: 261 260 for (Exh exh : exhibitions.keySet()) { 262 261 String str = exhibitions.get(exh);
Note:
See TracChangeset
for help on using the changeset viewer.