Package jsky.catalog

Examples of jsky.catalog.Catalog.reload()


        }
        // Run in a background thread, since it can hang
        new SwingWorker() {
            public Object construct() {
                try {
                    return selectedCatalog.reload();
                } catch (Exception e) {
                    return e;
                }
            }
View Full Code Here


                if (reload && _configFile != null) {
                    int n = _configFile.getNumCatalogs();
                    List<Catalog> catList = _configFile.getCatalogs();
                    for (int i = 0; i < n; i++) {
                        Catalog cat = catList.get(i);
                        catList.set(i, cat.reload());
                    }
                }
                break;
            } catch (Exception e) {
                if (url.equals(_defaultURL)) {
View Full Code Here

            AstroCatConfig config = new AstroCatConfig(getName(), getURL());
            int n = config.getNumCatalogs();
            List<Catalog> catList = config.getCatalogs();
            for (int i = 0; i < n; i++) {
                Catalog cat = catList.get(i);
                catList.set(i, cat.reload());
            }
            return config;
        }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.