Examples of registerTable()


Examples of jsky.navigator.Navigator.registerTable()

        Navigator navigator = _imageFrame.getNavigator();
        if (navigator != null) {
            VoCatalog catalog = new VoCatalog(VoTable.createVoTable(url, tableId, name));
            navigator.setQueryResult(catalog);
            navigator.setOrigURL(url); // XXX is this still needed?
            navigator.registerTable(url, tableId);
        }
    }

    /**
     * Loads and displays the FITS table pointed to by the given URL
View Full Code Here

Examples of jsky.navigator.Navigator.registerTable()

                }
            };
            String name = sender.toString() + "-" + id;
            VoCatalog catalog = new VoCatalog(VoTable.createVoTable(datsrc, id, name));
            navigator.setQueryResult(catalog);
            navigator.registerTable(null, id);
        }
    }

    /**
     * Does the work for the load-from-URL VOTable load message.
View Full Code Here

Examples of jsky.navigator.Navigator.registerTable()

        if (navigator != null) {
            String name = sender.toString() + "-" + id;
            URL url = new URL(urlStr);
            VoCatalog catalog = new VoCatalog(VoTable.createVoTable(url, id, name));
            navigator.setQueryResult(catalog);
            navigator.registerTable(url, id);
        }
    }

    /**
     * Does the work for the fits load image message.
View Full Code Here

Examples of jsky.navigator.Navigator.registerTable()

            name = plasticId.toString();
            tmpfile = null;
        }

        // Store a record of the table that was broadcast
        navigator.registerTable(new URL(urlStr), name);

        // Do the broadcast, synchronously so that we don't delete the
        // temporary file too early, but in another thread so that we
        // don't block the GUI.
        new Thread("PLASTIC table broadcast") {
View Full Code Here

Examples of org.ytreza.data.table.TableFactory.registerTable()

 
  @SuppressWarnings("unchecked")
  @Before
  public void setUp() throws Exception {
    TableFactory tableFactory = new TableFactoryJdbc(new JdbcConnectionManager("org.sqlite.JDBC", "jdbc:sqlite::memory:"));
    tableFactory.registerTable(new Table<Address<People>>(ADDRESS_PEOPLE,new AddressGenerator<People>(), new AddressStrategyJdbc<People>()));
    tableFactory.registerTable(new Table<People>(PEOPLE,new PeopleGenerator(), new PeopleJdbcStrategy()));
    tableAddress = (Table<Address<People>>) tableFactory.getTable(ADDRESS_PEOPLE);
    tablePeople = (Table<People>) tableFactory.getTable(PEOPLE);
  }
View Full Code Here

Examples of org.ytreza.data.table.TableFactory.registerTable()

  @SuppressWarnings("unchecked")
  @Before
  public void setUp() throws Exception {
    TableFactory tableFactory = new TableFactoryJdbc(new JdbcConnectionManager("org.sqlite.JDBC", "jdbc:sqlite::memory:"));
    tableFactory.registerTable(new Table<Address<People>>(ADDRESS_PEOPLE,new AddressGenerator<People>(), new AddressStrategyJdbc<People>()));
    tableFactory.registerTable(new Table<People>(PEOPLE,new PeopleGenerator(), new PeopleJdbcStrategy()));
    tableAddress = (Table<Address<People>>) tableFactory.getTable(ADDRESS_PEOPLE);
    tablePeople = (Table<People>) tableFactory.getTable(PEOPLE);
  }

  @After
View Full Code Here

Examples of org.ytreza.data.table.jdbc.TableFactoryJdbc.registerTable()

 
  @SuppressWarnings("unchecked")
  @Before
  public void setUp() throws Exception {
    TableFactory tableFactory = new TableFactoryJdbc(new JdbcConnectionManager("org.sqlite.JDBC", "jdbc:sqlite::memory:"));
    tableFactory.registerTable(new Table<Address<People>>(ADDRESS_PEOPLE,new AddressGenerator<People>(), new AddressStrategyJdbc<People>()));
    tableFactory.registerTable(new Table<People>(PEOPLE,new PeopleGenerator(), new PeopleJdbcStrategy()));
    tableAddress = (Table<Address<People>>) tableFactory.getTable(ADDRESS_PEOPLE);
    tablePeople = (Table<People>) tableFactory.getTable(PEOPLE);
  }
View Full Code Here

Examples of org.ytreza.data.table.jdbc.TableFactoryJdbc.registerTable()

  @SuppressWarnings("unchecked")
  @Before
  public void setUp() throws Exception {
    TableFactory tableFactory = new TableFactoryJdbc(new JdbcConnectionManager("org.sqlite.JDBC", "jdbc:sqlite::memory:"));
    tableFactory.registerTable(new Table<Address<People>>(ADDRESS_PEOPLE,new AddressGenerator<People>(), new AddressStrategyJdbc<People>()));
    tableFactory.registerTable(new Table<People>(PEOPLE,new PeopleGenerator(), new PeopleJdbcStrategy()));
    tableAddress = (Table<Address<People>>) tableFactory.getTable(ADDRESS_PEOPLE);
    tablePeople = (Table<People>) tableFactory.getTable(PEOPLE);
  }

  @After
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.