Changeset 23393 in osm for applications/editors/josm/plugins/smed/plugs/oseam/src
- Timestamp:
- 2010-09-29T00:12:24+02:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/smed/plugs/oseam/src/oseam
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/OSeaM.java
r23382 r23393 10 10 public class OSeaM implements SmedPluggable { 11 11 12 private OSeaMAction os = null; 12 private OSeaMAction osm = null; 13 13 14 14 @Override 15 15 public JComponent getComponent() { 16 os = new OSeaMAction(); 17 os.init(); 18 return os.getPM01SeaMap(); 16 osm = new OSeaMAction(); 17 osm.init(); 18 return osm.getPM01SeaMap(); 19 19 } 20 20 … … 39 39 @Override 40 40 public boolean stop() { 41 // TODO Auto-generated method stub42 return false;41 osm.closePanel(); 42 return true; 43 43 } 44 44 -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/dialogs/OSeaMAction.java
r23387 r23393 55 55 // SmpDialogAction 56 56 private Buoy buoy = null; // Variable f�r Objekte des Typs "Tonne" // 57 private boolean isOpen = false; // zeigt den Status des Dialogs an58 57 private Node onode = null; // gemerkter Knoten 59 58 private Buoy obuoy = null; // gemerkte Tonne // @jve:decl-index=0: … … 187 186 } 188 187 189 public boolean isOpen() {190 return isOpen;191 }192 193 public void setOpen(boolean isOpen) {194 this.isOpen = isOpen;195 }196 197 188 public String getOs() { 198 189 return Os; … … 211 202 } 212 203 213 public void CloseDialog() {204 public void closePanel() { 214 205 onode = null; 215 206 DataSet.removeSelectionListener(SmpListener); 216 207 Selection = null; 217 218 /*219 if (isOpen)220 dM01SeaMap.dispose();221 */222 isOpen = false;223 208 } 224 209 … … 226 211 onode = null; 227 212 obuoy = null; 228 setOpen(true);229 213 230 214 /*
Note:
See TracChangeset
for help on using the changeset viewer.