gistoolkit.application.command
Class SaveSelectionCommand

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended bygistoolkit.application.command.SimpleCommand
          extended bygistoolkit.application.command.SaveSelectionCommand
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, Command, java.util.EventListener, java.io.Serializable

public class SaveSelectionCommand
extends SimpleCommand

Command to take the records that are current in the copy buffer, and save them to permanent storage.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
(package private)  javax.swing.JFileChooser myChooser
          Store the file chooser for future use.
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
SaveSelectionCommand(GISEditor inEditor)
          CutCommand constructor comment.
 
Method Summary
 void execute()
          Execute the cut command
static java.lang.String getName()
          The identifying name for this command
 
Methods inherited from class gistoolkit.application.command.SimpleCommand
actionPerformed, executeAlternate, executeDraw, getGISDisplay, getGISEditor, getIcon, removeDraw, setGISDisplay, setGISEditor, showError, showInformation
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myChooser

javax.swing.JFileChooser myChooser
Store the file chooser for future use.

Constructor Detail

SaveSelectionCommand

public SaveSelectionCommand(GISEditor inEditor)
CutCommand constructor comment.

Method Detail

getName

public static java.lang.String getName()
The identifying name for this command


execute

public void execute()
Execute the cut command

Specified by:
execute in interface Command
Overrides:
execute in class SimpleCommand