easik.ui.menu
Class ExportSQLTextAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by easik.ui.menu.ExportSQLTextAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class ExportSQLTextAction
extends javax.swing.AbstractAction

A class to export the current sketch as an SQL text file.

Since:
2006-05-16 Vera Ranieri
Version:
2006-08-21 Kevin Green
Author:
Kevin Green 2006, Vera Ranieri 2006
See Also:
Serialized Form

Field Summary
 
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
ExportSQLTextAction()
          Creates a new ExportSQLTextAction.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Creates a new SQL text file based on the current sketch.
 
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
 

Constructor Detail

ExportSQLTextAction

public ExportSQLTextAction()
Creates a new ExportSQLTextAction. Adds a new menu option to the File menu.

Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Creates a new SQL text file based on the current sketch. Displays a message if an error occurred.

Parameters:
e - The action event