ucar.unidata.idv.ui
Class ToolbarEditor

java.lang.Object
  extended by ucar.unidata.idv.ui.ToolbarEditor
All Implemented Interfaces:
ActionListener, EventListener

public class ToolbarEditor
extends Object
implements ActionListener

This supports editing the toolbar.xml resource.

Version:
$Revision: 1.18 $
Author:
IDV Development Team

Constructor Summary
ToolbarEditor(IdvUIManager uiManager)
          The ctor
 
Method Summary
 void actionPerformed(ActionEvent ae)
          Handle the action
 boolean anyChanges()
          Were there any changes
 void doApply()
          Write out the toolbar xml.
 JComponent getContents()
          Get the GUI contents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolbarEditor

public ToolbarEditor(IdvUIManager uiManager)
The ctor

Parameters:
uiManager - The ui manager
Method Detail

getContents

public JComponent getContents()
Get the GUI contents

Returns:
The GUI contents

actionPerformed

public void actionPerformed(ActionEvent ae)
Handle the action

Specified by:
actionPerformed in interface ActionListener
Parameters:
ae - The action

anyChanges

public boolean anyChanges()
Were there any changes

Returns:
Any changes

doApply

public void doApply()
Write out the toolbar xml.