alma.aedf
Class Browser

java.lang.Object
  |
  +--alma.aedf.Browser
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.TreeSelectionListener

public class Browser
extends java.lang.Object
implements javax.swing.event.TreeSelectionListener

A very basic browser to display the VOTables contained in the the ALMA Archive XMLStore through a Swing GUI and submit XPath queries.
Command :
acsStartJava alma.aedf.Browser [-Doptions]

Options :

AEDFXMLDirectory=some-directory


AEDFXMLDirectory is defaulted to user.home.AEDFXML.
Set the environment variable MANAGER_REFERENCE in order to define the CORBA server. Example :
export MANAGER_REFERENCE=corbaloc::rumba.obspm.fr:3000/Manager

Author:
caillat

Constructor Summary
Browser(Archiver ar)
           
 
Method Summary
 void emptyList()
          Empty the list of VO Tables.
static void main(java.lang.String[] args)
           
 void makeList(java.lang.String[] UIDs)
          Build the list of VO Tables from an array of strings assumed to contain the UIDS of the VO Tables.
 void makeProjectsTree()
           
 void makeVOTableTree(javax.swing.tree.DefaultMutableTreeNode parentNode, org.jdom.Element element)
           
 void valueChanged(javax.swing.event.TreeSelectionEvent e)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Browser

public Browser(Archiver ar)
Method Detail

makeList

public void makeList(java.lang.String[] UIDs)
Build the list of VO Tables from an array of strings assumed to contain the UIDS of the VO Tables.

Parameters:
UIDs - Array of VO Tables UIDs.

emptyList

public void emptyList()
Empty the list of VO Tables.


makeProjectsTree

public void makeProjectsTree()

main

public static void main(java.lang.String[] args)

valueChanged

public void valueChanged(javax.swing.event.TreeSelectionEvent e)
Specified by:
valueChanged in interface javax.swing.event.TreeSelectionListener

makeVOTableTree

public void makeVOTableTree(javax.swing.tree.DefaultMutableTreeNode parentNode,
                            org.jdom.Element element)