All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----vnr.ide.WindowCoordinator
Specifically, it is responsible for keeping a list of windows for pluggable look and feel purposes, and for creating/opening windows that should only be opened once, but the user may try to do it multiple times, e.g. ClassView.
Will also add this as a window listener to handle closing windows being removed from the list
If there is an open buildresults window, return it, otherwise create it, add it to the list
Add the coordinator to it as a windowlistener, so it can be removed when closed.
If it's a classview, remove it from the list
Remove it from the windowList.
protected Vector windowList
protected Hashtable classViewList
protected Hashtable helpViewList
protected BuildResults openBuildResults
public WindowCoordinator()
public void add(Window window)
Will also add this as a window listener to handle closing windows being removed from the list
public void remove(Window window)
public void updateLookAndFeel()
public synchronized ClassView createOrShowClassView(NetRexxClass nrxClass,
Desktop dt)
If the pkg.cls exists in the hash table, show it. Otherwise, create it and add it to the hashtable
Add the coordinator as a window listener, so that when the window is closed, it will be removed from the hashtable
public synchronized BuildResults createOrShowBuildResults(Desktop dt)
If there is an open buildresults window, return it, otherwise create it, add it to the list
Add the coordinator to it as a windowlistener, so it can be removed when closed.
public synchronized JFrame createOrShowHelpView(URL u)
public void windowClosed(WindowEvent we)
If it's a classview, remove it from the list
Remove it from the windowList.
public void windowOpened(WindowEvent $2)
public void windowActivated(WindowEvent $3)
public void windowDeactivated(WindowEvent $4)
public void windowIconified(WindowEvent $5)
public void windowDeiconified(WindowEvent $6)
public void windowClosing(WindowEvent $7)
All Packages Class Hierarchy This Package Previous Next Index