Changeset 33054 in osm for applications/editors/josm/plugins/smed/src/panels/PanelLit.java
- Timestamp:
- 2016-11-12T04:42:33+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/src/panels/PanelLit.java
r32767 r33054 1 // License: GPL. For details, see LICENSE file. 1 2 package panels; 2 3 … … 122 123 multipleLabel.setVisible(false); 123 124 multipleBox.setVisible(false); 124 } else if ((SmedAction.panelMain.mark.getLightAtt(Att.LIT, 0) == Lit.VERT) || (SmedAction.panelMain.mark.getLightAtt(Att.LIT, 0) == Lit.HORIZ)) { 125 } else if ((SmedAction.panelMain.mark.getLightAtt(Att.LIT, 0) == Lit.VERT) 126 || (SmedAction.panelMain.mark.getLightAtt(Att.LIT, 0) == Lit.HORIZ)) { 125 127 SmedAction.panelMain.mark.setLightAtt(Att.ORT, 0, ""); 126 128 orientationBox.setText(""); … … 316 318 multipleLabel.setVisible(false); 317 319 multipleBox.setVisible(false); 318 groupBox.setText((String)SmedAction.panelMain.mark.getLightAtt(Att.GRP, 0)); 319 periodBox.setText((String)SmedAction.panelMain.mark.getLightAtt(Att.PER, 0)); 320 sequenceBox.setText((String)SmedAction.panelMain.mark.getLightAtt(Att.SEQ, 0)); 321 heightBox.setText((String)SmedAction.panelMain.mark.getLightAtt(Att.HGT, 0)); 322 rangeBox.setText((String)SmedAction.panelMain.mark.getLightAtt(Att.RNG, 0)); 323 orientationBox.setText((String)SmedAction.panelMain.mark.getLightAtt(Att.ORT, 0)); 320 groupBox.setText((String) SmedAction.panelMain.mark.getLightAtt(Att.GRP, 0)); 321 periodBox.setText((String) SmedAction.panelMain.mark.getLightAtt(Att.PER, 0)); 322 sequenceBox.setText((String) SmedAction.panelMain.mark.getLightAtt(Att.SEQ, 0)); 323 heightBox.setText((String) SmedAction.panelMain.mark.getLightAtt(Att.HGT, 0)); 324 rangeBox.setText((String) SmedAction.panelMain.mark.getLightAtt(Att.RNG, 0)); 325 orientationBox.setText((String) SmedAction.panelMain.mark.getLightAtt(Att.ORT, 0)); 324 326 orientationBox.setVisible(SmedAction.panelMain.mark.getLightAtt(Att.LIT, 0) == Lit.DIR); 325 multipleBox.setText((String)SmedAction.panelMain.mark.getLightAtt(Att.MLT, 0)); 326 multipleBox.setVisible((SmedAction.panelMain.mark.getLightAtt(Att.LIT, 0) == Lit.VERT) || (SmedAction.panelMain.mark.getLightAtt(Att.LIT, 0) == Lit.HORIZ)); 327 multipleBox.setText((String) SmedAction.panelMain.mark.getLightAtt(Att.MLT, 0)); 328 multipleBox.setVisible((SmedAction.panelMain.mark.getLightAtt(Att.LIT, 0) == Lit.VERT) 329 || (SmedAction.panelMain.mark.getLightAtt(Att.LIT, 0) == Lit.HORIZ)); 327 330 for (Vis vis : visibilities.keySet()) { 328 331 int item = visibilities.get(vis);
Note:
See TracChangeset
for help on using the changeset viewer.
