Changeset 30738 in osm for applications/editors/josm/plugins/smed/src/panels/PanelMore.java
- Timestamp:
- 2014-10-19T01:27:04+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/src/panels/PanelMore.java
r30737 r30738 19 19 private FocusListener flInfo = new FocusAdapter() { 20 20 public void focusLost(java.awt.event.FocusEvent e) { 21 dlg.panelMain.mark.setInfo(infoBox.getText());21 SmedAction.panelMain.mark.setInfo(infoBox.getText()); 22 22 } 23 23 }; … … 26 26 private FocusListener flSource = new FocusAdapter() { 27 27 public void focusLost(java.awt.event.FocusEvent e) { 28 dlg.panelMain.mark.setSource(sourceBox.getText());28 SmedAction.panelMain.mark.setSource(sourceBox.getText()); 29 29 } 30 30 }; … … 33 33 private FocusListener flElev = new FocusAdapter() { 34 34 public void focusLost(java.awt.event.FocusEvent e) { 35 dlg.panelMain.mark.setElevation(elevBox.getText());35 SmedAction.panelMain.mark.setElevation(elevBox.getText()); 36 36 } 37 37 }; … … 40 40 private FocusListener flHeight = new FocusAdapter() { 41 41 public void focusLost(java.awt.event.FocusEvent e) { 42 dlg.panelMain.mark.setObjectHeight(heightBox.getText());42 SmedAction.panelMain.mark.setObjectHeight(heightBox.getText()); 43 43 } 44 44 }; … … 50 50 for (Sts sts : statuses.keySet()) { 51 51 int idx = statuses.get(sts); 52 if ( dlg.panelMain.mark != null && (idx == statusBox.getSelectedIndex()))53 dlg.panelMain.mark.setStatus(sts);52 if (SmedAction.panelMain.mark != null && (idx == statusBox.getSelectedIndex())) 53 SmedAction.panelMain.mark.setStatus(sts); 54 54 } 55 55 } … … 62 62 for (Cns cns : constructions.keySet()) { 63 63 int idx = constructions.get(cns); 64 if ( dlg.panelMain.mark != null && (idx == constrBox.getSelectedIndex()))65 dlg.panelMain.mark.setConstr(cns);64 if (SmedAction.panelMain.mark != null && (idx == constrBox.getSelectedIndex())) 65 SmedAction.panelMain.mark.setConstr(cns); 66 66 } 67 67 } … … 74 74 for (Con con : conspicuities.keySet()) { 75 75 int idx = conspicuities.get(con); 76 if ( dlg.panelMain.mark != null && (idx == conBox.getSelectedIndex()))77 dlg.panelMain.mark.setConsp(con);76 if (SmedAction.panelMain.mark != null && (idx == conBox.getSelectedIndex())) 77 SmedAction.panelMain.mark.setConsp(con); 78 78 } 79 79 } … … 86 86 for (Con con : reflectivities.keySet()) { 87 87 int idx = reflectivities.get(con); 88 if ( dlg.panelMain.mark != null && (idx == reflBox.getSelectedIndex()))89 dlg.panelMain.mark.setRefl(con);88 if (SmedAction.panelMain.mark != null && (idx == reflBox.getSelectedIndex())) 89 SmedAction.panelMain.mark.setRefl(con); 90 90 } 91 91 } … … 99 99 public void actionPerformed(java.awt.event.ActionEvent e) { 100 100 if (regionAButton.isSelected()) { 101 dlg.panelMain.mark.setRegion(Reg.A);101 SmedAction.panelMain.mark.setRegion(Reg.A); 102 102 switch (dlg.panelMain.mark.getCategory()) { 103 103 case LAM_PORT:
Note:
See TracChangeset
for help on using the changeset viewer.