Class ParamGroupsEditor

All Implemented Interfaces:
ActionListener, EventListener, IdvConstants

public class ParamGroupsEditor extends IdvManager implements ActionListener
An editor for param groups
Version:
$Revision: 1.5 $Date: 2007/06/21 14:45:02 $
Author:
IDV development team
  • Field Details

  • Constructor Details

    • ParamGroupsEditor

      public ParamGroupsEditor(IntegratedDataViewer idv)
      Create the editor with the given collection of xml resources
      Parameters:
      idv - The IDV
  • Method Details

    • exportSelectedToPlugin

      public void exportSelectedToPlugin()
      Export the selected param infos to the plugin manager
    • exportToPlugin

      public void exportToPlugin()
      Export allthe param infos to the plugin manager
    • addNewRow

      public void addNewRow()
      add a new row to users table
    • getDataGroups

      public List getDataGroups(boolean justFirst)
      Get the param infos
      Parameters:
      justFirst - if true then just get the first table
      Returns:
      param infos
    • getCurrentTable

      public ParamGroupsEditor.ParamGroupsTable getCurrentTable()
      Return the ParamGroupsTable which is currently being shown in the tabbed pane
      Returns:
      The current ParamGroupsTable
    • doImport

      public void doImport()
      Import an xml param defaults file
    • doOpen

      public void doOpen()
      Open an xml param defaults file
    • actionPerformed

      public void actionPerformed(ActionEvent event)
      Handle the CLOSEANCEL, OK, HELP, events.
      Specified by:
      actionPerformed in interface ActionListener
      Overrides:
      actionPerformed in class WindowHolder
      Parameters:
      event - The event
    • showHelp

      public void showHelp()
      show help
    • getWindowTitle

      protected String getWindowTitle()
      Get the window title to use
      Overrides:
      getWindowTitle in class WindowHolder
      Returns:
      Window title
    • doSave

      public void doSave(List infoList, String filename)
      Save the list of DataGroup-s into the given file
      Parameters:
      infoList - List of infos
      filename - The filename to write to
    • doSaveAs

      public void doSaveAs()
      Save the param infos
    • doSaveAs

      public void doSaveAs(List infoList)
      Prompt for a file and write out the DataGroup-s from the given list.
      Parameters:
      infoList - List of DataGroup-s
    • copyToUsers

      protected void copyToUsers(DataGroup i)
      Copy the given DataGroup object into the user's editable table
      Parameters:
      i - the param fino object to copy