Class MenuHandler

java.lang.Object
ucar.unidata.idv.chooser.XmlHandler
ucar.unidata.idv.chooser.MenuHandler

public class MenuHandler extends XmlHandler
This handles the menu bar xml (from idv/resources/defaultmenu.xml) to include idv commands, etc, into a XmlChooser chooser.
Version:
$Revision: 1.10 $Date: 2007/06/28 17:13:04 $
Author:
IDV development team
  • Field Details

  • Constructor Details

    • MenuHandler

      public MenuHandler(XmlChooser chooser, Element root, String path)
      Create the handler
      Parameters:
      chooser - The chooser we are in
      root - The root of the xml tree
      path - The url path of the xml document
  • Method Details

    • doMakeContents

      public JComponent doMakeContents()
      Make the GUI
      Specified by:
      doMakeContents in class XmlHandler
      Returns:
      The UI component
    • doLoad

      public void doLoad()
      The user has pressed the 'Load' button. Check if a node is selected and process the xml action attribute
      Specified by:
      doLoad in class XmlHandler