Package jsky.catalog.gui

Examples of jsky.catalog.gui.TablePlotter


            setSaveNeeded(true);
            checkExtensions(true);

            // unplot the original table, since the FITS table will be plotted from now on
            TablePlotter plotter = _navigator.getPlotter();
            if (plotter != null) {
                plotter.unplot(table);
                //plotter.plot(newTable);
                _navigator.setQueryResult(newTable.getCatalog());
            }
        } catch (Exception e) {
            DialogUtil.error(this, e);
View Full Code Here


            }

            if (_navigatorFrame != null) {
                // Replot any previously plotted catalogs (from any image)
                // in coordinate system of the new image
                TablePlotter plotter = _navigator.getPlotter();
                if (plotter != null) {
                    plotter.replotAll();
                }

                // If this is the first time this image is being visited this session,
                // plot any catalog tables stored as FITS tables
                String filename = getFilename();
View Full Code Here

     * Transform the image graphics using the given AffineTransform.
     */
    protected void transformGraphics(AffineTransform trans) {
        super.transformGraphics(trans);
        if (_navigator != null) {
            TablePlotter plotter = _navigator.getPlotter();
            if (plotter != null) {
                plotter.transformGraphics(trans);
            }
        }
    }
View Full Code Here

    /**
     * Save any current catalog overlays as a FITS table in the image file.
     */
    public void saveCatalogOverlaysWithImage() {
        if (_navigator != null) {
            TablePlotter plotter = _navigator.getPlotter();
            if (plotter != null) {
                TableQueryResult[] tables = plotter.getTables();
                if (tables != null) {
                    for (TableQueryResult table : tables) {
                        saveFITSTable(table);
                    }
                }
View Full Code Here

    public NavigatorFrame(MainImageDisplay imageDisplay) {
        super("Catalog Navigator");

        setIconImage(new ImageIcon(Resources.getResource("images/Catalog24.gif")).getImage());
        CatalogTree catalogTree = new CatalogTree();
        TablePlotter plotter = new BasicTablePlotter();

        navigator = new Navigator(catalogTree, plotter, imageDisplay);

        NavigatorToolBar toolbar = new NavigatorToolBar(navigator);
        getContentPane().add(toolbar, BorderLayout.NORTH);
View Full Code Here

TOP

Related Classes of jsky.catalog.gui.TablePlotter

Copyright © 2018 www.massapicom. 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.