Changeset 22725 in osm
- Timestamp:
- 2010-08-21T20:59:26+02:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/toms/src/toms
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/toms/src/toms/dialogs/SmpDialogAction.java
r22722 r22725 569 569 if (n == null) 570 570 n = onode; 571 if (n == null) 572 return; 571 573 name = buoy.getName(); 572 574 switch (type) { -
applications/editors/josm/plugins/toms/src/toms/seamarks/buoys/BuoySpec.java
r22722 r22725 48 48 dlg.cM01Fired.setSelected(false); 49 49 dlg.cM01TopMark.setSelected(false); 50 dlg.cM01Fired.setEnabled(false); 51 dlg.cM01TopMark.setEnabled(false); 50 52 dlg.tbM01Region.setEnabled(false); 51 53 … … 106 108 } 107 109 110 public void setStyleIndex(int styleIndex) { 111 super.setStyleIndex(styleIndex); 112 if (styleIndex == SPEC_BARREL) { 113 dlg.cM01Fired.setSelected(false); 114 dlg.cM01TopMark.setSelected(false); 115 dlg.cM01Fired.setEnabled(false); 116 dlg.cM01TopMark.setEnabled(false); 117 } else { 118 dlg.cM01Fired.setEnabled(true); 119 dlg.cM01TopMark.setEnabled(true); 120 } 121 } 122 108 123 public void paintSign() { 109 124 super.paintSign(); … … 113 128 dlg.tfM01Name.setEnabled(true); 114 129 dlg.tfM01Name.setText(getName()); 115 dlg.cM01Fired.setEnabled(true);116 dlg.cM01TopMark.setEnabled(true);117 130 118 131 String image = "/images/Special_Purpose";
Note:
See TracChangeset
for help on using the changeset viewer.