Ignore:
Timestamp:
2010-09-12T13:35:28+02:00 (14 years ago)
Author:
postfix
Message:

added the interface runnable to PluginApp

Location:
applications/editors/josm/plugins/toms/src/toms
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/toms/src/toms/Toms.java

    r23119 r23121  
    3131
    3232import javax.swing.JMenuItem;
     33import javax.swing.SwingUtilities;
    3334
    3435import org.openstreetmap.josm.Main;
     
    136137                try {
    137138                        PluginApp.runPlugins();
    138                 } catch (IOException e) {
     139                } catch (Exception e) {
    139140                        e.printStackTrace();
    140141                }
     142
    141143        }
    142144
  • applications/editors/josm/plugins/toms/src/toms/dialogs/SmpDialogAction.java

    r23109 r23121  
    2020import java.awt.event.KeyEvent;
    2121import java.awt.event.WindowEvent;
     22import java.io.IOException;
    2223import java.util.Collection;
    2324import java.util.Iterator;
     
    4950
    5051import toms.Messages;
     52import toms.plug.PluginApp;
    5153import toms.seamarks.SeaMark;
    5254import toms.seamarks.buoys.Buoy;
     
    261263                        }
    262264                });
    263 
     265               
    264266                setOpen(true);
    265267
  • applications/editors/josm/plugins/toms/src/toms/plug/PluginApp.java

    r23119 r23121  
    1212import toms.plug.util.PluginLoader;
    1313
    14 public class PluginApp {
     14public class PluginApp implements Runnable {
    1515       
    1616        public static void runPlugins() throws IOException {
     
    3636        }
    3737
     38        @Override
     39        public void run() {
     40                try {
     41                        runPlugins();
     42                } catch (IOException e) {
     43                        e.printStackTrace();
     44                }
     45               
     46        }
     47
    3848}
Note: See TracChangeset for help on using the changeset viewer.