actions
Class ImportMapAction

java.lang.Object
  extended by actions.ImportMapAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class ImportMapAction
extends java.lang.Object
implements java.awt.event.ActionListener

Action for loading a map from a file.


Field Summary
private  MainWindow mainWindow
          the main frame
 
Constructor Summary
ImportMapAction(MainWindow window)
          Constructs the import map action.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent arg0)
          Displays a dialog allowing the user to select a map file to load.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mainWindow

private MainWindow mainWindow
the main frame

Constructor Detail

ImportMapAction

public ImportMapAction(MainWindow window)
Constructs the import map action.

Parameters:
window - - the main frame
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent arg0)
Displays a dialog allowing the user to select a map file to load.

Specified by:
actionPerformed in interface java.awt.event.ActionListener